Autor Tema: Platform template?  (Leído 2280 veces)

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Platform template?
« en: Agosto 17, 2010, 03:16:42 am »
Hey everyone,

This happens to be my first post on these forums so I'll try to be as non-annoying as possible.

I searched the forums and there isn't much help at all on making a platform game.

So I decided to create my own topic so I could ask if anyone had a link to a tutorial for platform games or a platform game template I could use.
Just let it be known if you have a platform engine that you could donate that it will be heavily modified.

Thanks in advance,
Kordman916

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12749
  • Karma: 375
Re: Platform template?
« Respuesta #1 en: Agosto 17, 2010, 05:45:27 am »
Hi!

your questions don't are annoying.

Wellcome!
SplinterGU
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re: Platform template?
« Respuesta #2 en: Agosto 17, 2010, 05:19:48 pm »
A template for a platfom game right?
Well, you could have a look about a project I did recently, wich is an improvement of an the old
DIV Malvado game, although it doesn't use tile graphics, it has editable levels. The game and
editor + sources can be found here: http://www.mediafire.com/file/wiomm3maf2j/malvado-devel.zip.

I hope it's helpfull, and for example's on designing platform games (do's and don'ts) the games from ocean
software may be good learning material, as they made both good and bad games, for instance, Lethal
weapon on the snes/amiga wich are not the same game, but the snes version is not as bad as everyone says.

You can also find some information about my malvado improvement on my website, http://dykodesigns.woelmuis.nl/malvado-en.html.

O, by the way, I have tried to upload my project a few times on the bennu projects page, but so far wasn't able to do so
sucessfully. Maybe it's the filesize or something.

l1nk3rn3l

  • Hero Member
  • *****
  • Mensajes: 1999
  • Karma: 257
Re: Platform template?
« Respuesta #3 en: Agosto 17, 2010, 07:19:24 pm »
Bennupack include ,tons  examples

the best newbie reference:
http://bennupack.blogspot.com/

Drumpi

  • Hero Member
  • *****
  • Mensajes: 6269
  • Karma: 159
  • Odio el periodo "entre proyectos"
    • La web de Drumpi
Re: Platform template?
« Respuesta #4 en: Agosto 18, 2010, 12:29:07 am »
Hello and wellcome to your new adiction ;D

A platform game is not an annoying project. Everyone wants to do his/her own platform game but it needs a medium level of programming skills. There is tons of ways to do a platform game, and your main character skills will chose one of them for you. Castle of Dr Malvado is the easiest way to do a platform game, and maybe the only "template" everyone follows.

If you are new, we suggest start with simple minigames of one screen, or some starship action shooter, or top view games, it will took you some time and will help you to familiarize with Bennu. Then you can choose if you want to start a platform game.

I hope you enjoy programming ;)
Hala, como con 1001 procesos sólo va a 9 FPS, vamos a meterle 32 veces más, a ver si revienta.
(Drumpi epic moment)

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Re: Platform template?
« Respuesta #5 en: Agosto 19, 2010, 11:34:37 am »
Does the Bennupack support linux versions of Bennu?

josebita

  • Administrator
  • *****
  • Mensajes: 4039
  • Karma: 257
    • BennuGD Mobile Worklog
Re: Platform template?
« Respuesta #6 en: Agosto 19, 2010, 12:19:20 pm »
Some things might be Windows-only, but the code should work flawlessly. Some of the things included in the Bennupack are also in my PPA.

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Re: Platform template?
« Respuesta #7 en: Agosto 19, 2010, 12:41:02 pm »
Why do I get this error when I try to run some of the examples in Bennu from the terminal in Ubuntu?

Código: [Seleccionar]
Race: doesn't exist or isn't version 7 DCB compatible
« última modificación: Agosto 19, 2010, 12:50:23 pm por Kordman916 »

handsource-dyko

  • Hero Member
  • *****
  • Mensajes: 568
  • Karma: 32
  • I'm the eye in the sky.
    • dyko designs
Re: Platform template?
« Respuesta #8 en: Agosto 19, 2010, 02:48:46 pm »
Could be that the versions of bgdi and bgdc are not the same (shouldn't be any problem anymore, but it was in the fenix days).
This is likely to  be rare. Rember, linux is case sensitive, although I'm not sure about bennu itself though.
I've head a few headaches with bugs in my malvado game when I tested it under linux, and these problems where caused by my
own inconsist use of lower/uppercase in filenames and references to them in the source files. Once I changed everything to lowercase,
the bugs where gone. Strangely, some of weird problems also occured on windows occasionally.

I bet the error message is gone if you recompile the source file. Sometimes minor revisions in bgdi require you to recompile your game.
Also, under linux you may have to add ./ before the command, this is when location of bennu is not in the shell's path. (Kinda similair with the PATH variable under dos).

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12749
  • Karma: 375
Re: Platform template?
« Respuesta #9 en: Agosto 19, 2010, 03:47:29 pm »
please, show us this outputs:

bgdc Race.prg

ls -la

bgdi Race

include the command lines in the report (copy & paste from screen, exactly)
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Re: Platform template?
« Respuesta #10 en: Agosto 19, 2010, 04:49:37 pm »
Thanks for attempting to help me but I figured out what I was doing wrong.

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Re: Platform template?
« Respuesta #11 en: Agosto 19, 2010, 05:30:04 pm »
Ok so here's the deal...

I got the examples to compile and play but some of them only show a black screen  :-\

Is this because the demo is using a renderer Linux doesn't support or what?

I have OpenGL and the latest Nvidia drivers installed.

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12749
  • Karma: 375
Re: Platform template?
« Respuesta #12 en: Agosto 19, 2010, 08:05:25 pm »
linux is casesentive, you need use same case in the filenames and in your code. I suggest you use lowercase for all.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2

Kordman916

  • Newbie
  • *
  • Mensajes: 10
  • Karma: 0
Re: Platform template?
« Respuesta #13 en: Agosto 20, 2010, 01:48:15 am »
I completely understand how to run a bennu program but some of the examples in the Bennupack only show a completely black window. Is it because those demos aren't supported on linux?

SplinterGU

  • Hero Member
  • *****
  • Mensajes: 12749
  • Karma: 375
Re: Platform template?
« Respuesta #14 en: Agosto 20, 2010, 01:57:15 am »
maybe, bennupack is window based.
Download Lastest BennuGD Release: http://www.bennugd.org/node/2