SCHMUP tech demo, part 4-4/23/10

Previous topic - Next topic

Scott_AW

Less old and older post below, new post:

I made a bunch of tiny improvements, some you'll notice others you won't.  Also caught a few more bugs, enemy shots were not traveling with the map scroll speed, which also happened to the explosions.

Scrolling has also been altered, the ship moves slower horizontally and should allow for better handling.  Let me know if the map is more playable with this update.

Non-seeable changes are a polyvector drawing system that autoclips to the screen.  A example of that can be found on the snippets forum.

There might be some other changes I can't recall, sometimes its fix and forget.

Keys are still arrows, z=shoot, tab=make enemy.

PC version, 042310

MAC version, 042310

On a quick note, I don't really plan on having too many aerial units inside such a level.  Enemies will be foot soldiers, some mech units and turrets.

There's also a bunch of features I haven't decided I want to bring over from the GM version.  Which you can find Heres

Old post now below, new post:

9000+ pixel long level in one go, solid 60fps.  I haven't checked uncapping it.

Still need to fix some things, like making the player bullets faster and enemy AI.  The level is split into 9 1024x600 frames, with a lightmap, solidmap and backmap.  The entire level is pixel based collision, as is all collision in the game.

I built the levels using Tiled, a very nice program, exported images of separate layers and chopped them up.

I left out enemies since they're pretty much ghosts and defy the laws of physics, but in the demo I have of the entire level, shown below, you can press TAB to create some.

Download rj_tech3.zip

It takes a few seconds to load-up the level graphics, displayed by fat white bars on the bottom of the screen.

So, arrow keys to move, Z to shoot, TAB to create random enemy...who defies collisions.


A fancy screenshot.


The whole damn level.  This took awhile to put together, but I may scrap it for a redesign.


Old post:

When I first got glbasic, the first thing I did was play around with a sidescroller schmup that I had made before in GM, previous Qbasic(like 20 years ago....) but anyways, after looking through the forums a bit, I found H.K.'s SCHMUP tutorial video and learned a few useful things regarding game object creation.

Basic use of DIMPUSH and DELETE to handle object creation.

So I scrapped then old code and started over.

Here's a simple demo, Z to shoot, Arrow keys to move and ESC to quit at any time.

Download rj_tech.zip

Tech demo 2, running 1024x600 with a map w/ collisions.  Enemies and their attacks however are not currently affected by the map.  The map level is a solid image, using SPRCOL against the player and it's attacks.  I think I got the collision working properly, try and break it.

Download rj_tech2.zip
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

bigsofty

Very nice, although obviously more of a tech demo, there is a basis for a game here.
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Scott_AW

Its not to far from being a complete engine, I still need to add a tile system for levels and the other fun stuff.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

Scott_AW

http://host-a.net/scott_aw/RickJason_OSX.app.sit
OSX version

should be the same as

http://host-a.net/scott_aw/rj_tech3.zip
WIN3d version.

Hopefully I'll get an linux OS to test with soon, any suggestions?
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

bigsofty

Although I had trouble with the framerate on my old laptop(GF6100), that I tried it on, it looked very good. Very impressive collision on the scrolling background. Nice graphics... your own work? I would possibly dull down the background graphics a little bit for more of an impression depth and make the tileset a little less abstract.

Looking forward to your next version.

Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

com_1

>>  Basic use of DIMPUSH and DELETE to handle object creation.

We can do without this. (possible without this)

Just - dim[]

dim x[]
dim y[]
dim ok$[]

ok$[]="yes" or ok$[]="no";


>>  Download rj_tech2.zip
>>  Download rj_tech3.zip

On my laptop just brake.

Scott_AW

I know I could do without, but I really like dimpush.  I don't have to deal with setting ranges for loops, just use foreach statements.  Then I also don't have to worry about a status variable.

Whats the specs on your laptop?  I run this fine on a Netbook w/ atom and on a G5(old)

I do all my own graphics, thanks.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/

com_1

>>  Whats the specs on your laptop?

1.60 GHz
496 MB RAM

bigsofty

1.61 Turion 64x2
1 Gig
GeF6100
Cheers,

Ian.

"It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration."
(E. W. Dijkstra)

Scott_AW

Could be memory related, its using 47mb worth of images for the level alone, which somehow boost the total system ram to almost 200 on one computer I was testing on.  I could split the maps up more and only load several at a time instead of all 9 sets of 3.

Also there's some jerkiness as new level images get swapped in.  I may have somewhat fixed that, but like I mentioned I may need to break the images up, probably 18 sets of 512x576 images.  I also found I had gaps between the level parts from overlapping and made images clip to the view screen.  Still a few more things to do, and possibly a new version of the level, some thought the navigation was too narrow.
Current Project, Orbital Contract Defense
http://gamejolt.com/games/adventure/code-name-ocd/9887/

BlackShadow now open source/resource(requires duke3d)
http://gamejolt.com/games/adventure/black-shadow-3d/9885/