Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Showcase / My platformer
- By ickylevel Date 2010-04-03 21:17 Edited 2010-04-03 22:55
Hi ,

This is my third game made with gosu. It's a simple platformer , with somes particularities :
- Rapid map edition via text files. Customisable parameters like gravity , movment speed .
- Enemies that are agressive, can flee and avoid projectiles.
- Terrain destruction.

The game is intented to be challenging , and very nervous.

Copy paste from the readme :

1-Description

  This is a 2d side scrolling platformer. It was made so it could be played on a netbook. The game is unique because
  of the monster's AI and the importance of terrain. The player can not only rely on his reflexes to play the game but have to
  find the best strategy suitable for each level. Each map is conceived as a challenge and takes hours to be completed, by trial
  and error. The very basic and easy map edition tools allows to create custom maps very easily. The mapmakers can focus on gameplay
  because maps can be created with a simple text editor : No need to match tiles manually.
 
 
2-Installation

  Just launch the executable provided with the game. Windows only. Your firewall may block the program and ruby.exe (which is also launched by the program).

  The game was created using the Ruby language and the gosu library.Ruby is an interpreted language therefore the source code of the game needs an environment to execute.
  It is bundled inside the game exe, explaining why the game takes a while to start up. Your firewall may block the program atempts to access some dlls.
  What the exe does is extracting the Ruby interpreter and required dependencies (like gosu) to a temporary file. Then it use ruby to read
  the game's source code which is also extracted.
 
  The launch time may improve in the future with the official release of ruby 2.0 and ruby2exe, thanks for your understanding.
 
3-Options

  Graphical settings are set in the config.txt file located in the game directory.
  This file has to be edited before the game starts up.
  This file also contains the settings for the controls of the game that can be edited igame.
 
  resolution_x 500 -> vertical resolution
  resolution_y 500 -> horizontal resolution
  fullscreen 0 -> set it to 1 if you want fullscreen
  sound 0 -> the game has no sounds for now, this option is useless
  particles 1 -> values 0 1 2 , the presences of differents particles or not
  buffer 0 -> if you experiment strange effects at the edges of the screen increase it by steps of 40. 0 is for better performances.
      a value of 100 is recommanded
     
     
  Controls can be edited in the ingame menu. Press Esc to go to the previous menu once you edited all the keys you wanted.
 
4-Gameplay

  Default controls :
  -Arrows keys to move and jump
  -Spacebar to attack. Spacebar + down button to attack down.
  -Alt for secondary attack
  -Enter and Escape to navigate menus.
  -To move backward , hold down button
 
5-Map edition

  Maps are located in the simplemaps directory.
  A text editor such as notepad++ or ascii painter is recommanded.
 
  Every symbol that is not described here is interpreted as a blank space.
  /!\ The length of the first line determine the length of the level.
  Height is related to the number of lines.
 
  x : A square filled with dirt (destructible)
  r : A square filled with indestructible rocks.
 
  l : A fast green monster (its an L)
  c : A strong big monster
  t : A ranged attack monster
  y : The basic monster
  w : A stronger version of the basic monster
  b : A flying monster

 
 
  p : The player starting postion (important)
  s : A checkpoint for the player
  e : End of level
  i : Spikes that hurt
  < : A boulder that will go left
  > : A boulder that will go right
  _ : A spring (makes things jump)
  ) : A right faced spring
  ( : A left faced spring
 
  d : Dynamite powerup
  h : One life ...
 
 
  You can add parameters before you write the map (they are all optionnal) :
   
  :description Worst shittiest map ever.  => The description that appear in the map menu
  :death_msg Loooooooooser !
  :win_msg You win lololololol !
  :start_msg Welcome to this map !
  :gravity 0.8
  :max_speed_fall 35
  :jump 30 => jump force of the player
  :speed 0.4 => speed of the player
  :map             => Used to indicate when the map drawing beggins
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  xxx            xxxxxxxxxxxxxx
  xxx     p            xxxxxxxx
  xx                     xxxxxx
 




DL LINK IS THE ATTACHMENT
Attachment: Release.zip (1992k)
- By banister Date 2010-04-03 21:54
waiting for it to download now :) but really that download link is HORRIBLE, 3 times i clicked an advert that had 'download' written on it rather than the actual link, hehe.

Why not use either getdropbox.com or host the file as a downloadable on github.com ? :)
- By ickylevel Date 2010-04-03 22:00
Yes it's pretty terrible. I'll need a serious hosting solution one day.
- By banister Date 2010-04-03 22:02 Edited 2010-04-03 22:20
wow just played it. Really impressive, fast paced and challenging game. The quake3 style jump-pads are a very nice touch. I couldn't figure how the terrain was 'destructible' though? shooting at the terrain doesn't appear to leave any crater.

Can you release the source for this game? im curious how you did certain things.

nice work :))
- By ickylevel Date 2010-04-03 22:14
You have to pick up dynamite to destroy terrain. Don't expect worms-like destruction though. It destroys block per block.
I may release the sources one day, though it's nothing spectacular.

thx
- By ickylevel Date 2010-04-03 22:56
Ok I just figured out this forum has attachments. So no need for a shitty dl link (see first post).
- By jlnr (dev) Date 2010-04-04 18:03
I wonder if it's too late to sneak it into Shinobi Chef's compo? (See sticky thread) :)
- By Maverick Date 2010-04-04 19:49
Radical.
- By ickylevel Date 2010-04-11 15:48
I have now attached a new version in the first post, with sources.
- By jlnr (dev) Date 2010-05-07 14:59 Edited 2010-05-08 01:23
Whatever you use for editing the ruby code apparently inserts BOM marks into the file, or something like that. At least I cannot run it with Ruby 1.8.7 on OS X. 1.9.2 also gave me a syntax error, but a less weird sounding one. Anyone else run into this?
- By kyonides Date 2010-05-07 20:27
I could run it with Ruby 1.9.1 on Kubuntu Linux. 1.8.7 failed miserably...
- By jlnr (dev) Date 2010-05-31 06:52
Used Windows to play it, MAN it is fast :P, actually when my VM acted up and was a bit slower I thought the game was more fun. At full 60 FPS it was already kind of hard to notice just HOW annoying the enemies are. Really, I think these are the fiercest enemies I have seen so far in a Gosu game. Grrr! :D

The terrain destruction is also pretty sweet. Not really logical that it lowers the grass, but nice looking that way :)

Oh, and for the slopes, I think the player should stick to them just as discussed regarding Maverick's game here: http://www.libgosu.org/cgi-bin/mwf/topic_show.pl?tid=135
- By ippa Date 2010-05-31 12:05
Works well on Win7, cool lil game, I like how you've gotten slopes to work well. As jlnr said, the game needs to slow down, stuff is moving way to fast.. I also would like to jump slighty higher! ;)
- By ickylevel Date 2010-06-05 22:17 Edited 2010-06-05 22:20
I know that the slopes can prevent you from jumping... It would require some tweaking. But I'm not working on this anymore (wouldn't take so long to do I assume).

You can specify the gravity and the players speed in the map file (:speed and :gravity I think).
Up Topic Gosu / Gosu Showcase / My platformer

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill