Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Work in Progress / Maths Land

Author
Message
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 27th Mar 2004 21:49 Edited at: 27th Mar 2004 21:53
My most recent game was annoying me so I decided to start on a simpler one.

It's a 2D platformer that will pretty much be a rip-off of Mario.
I've tried to make it stylish and original - I think it looks pretty cool, if I do say so myself.

It doesn't use any media so just slap this code into DBPro:



It's just a little, stationary screen demo to give an idea of what the game will look like. It will have a fake 3D, 3-layered effect (where the foreground scrolls faster).

Controls

Left/Right - Move
Space - Jump


One problem I've had is that when I add text of quite a large size (about 35) it completely kills the fps. The enemies are going to be numbers so this has pretty much stopped production on that aspect. Anyone have any ideas??

John H
Retired Moderator
21
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 27th Mar 2004 22:09 Edited at: 27th Mar 2004 22:11
For your problem about text - Use sprite based text

Get an image that has all the characters you need on it (it would kick butt if they were arranged by their ASCII values) then chop up the image (make sure all the characters are in nice, evenly dividable columns) and make all the images into sprites. Now, if you found an image where they were aranaged by ASCII value, showing them would be as easy as something like this

Function SpriteText(Msg$)
Length = Len(Msg$)
For X = 0 to Length
Show Sprite ASC(Mid$(Msg$,Lengh -x))
Next X
endfunction

Well something like that


We need help! Email us! join@eternaldestinyonline.com
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 27th Mar 2004 22:17
Thanks a lot.

Why is it so slow with large text?

Mussi
21
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 27th Mar 2004 22:34
HAHA SO COOL!!! like that style very much



Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb
ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 28th Mar 2004 11:49
nice stuff very cool for no media

In the beginning, the universe was created...
This made alot of people very angry and it has been widely regarded as a bad idea...
Visit http://redeye.dbspot.com
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 13:30 Edited at: 28th Mar 2004 14:08
Update -

I changed the code for jumping completely so the jumping line doesn't really work anymore. I'll fix it sometime.

I added falling and blocks. It's feeling like Mario now.



Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 15:55 Edited at: 28th Mar 2004 15:57
Update -

Scrolling !!! (that was easier than I thought it would be)
Layered Effect

Have fun -



Still no media

Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 17:37
Enemies



ReD_eYe
21
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 28th Mar 2004 18:19
yay! this is getting pretty good

In the beginning, the universe was created...
This made alot of people very angry and it has been widely regarded as a bad idea...
Visit http://redeye.dbspot.com
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 28th Mar 2004 18:43
Chris, this is probably the best game I've ever seen that's been completly hard-coded. Heck, if you develop it enough I think it should be in the next TGC newsletter.



A book? I hate book. Book is stupid.
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 21:18
Thanks a lot.

New Controls

Jump ==> Right Bracket
Shoot Plus ==> +
Shoot Minus ==> -




Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 22:15 Edited at: 28th Mar 2004 22:23
Killable enemies



Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 22:46
Reducable Polygon Enemy

(You have to play it to understand)



medwayman
21
Years of Service
User Offline
Joined: 27th Aug 2002
Location: uk
Posted: 28th Mar 2004 22:52
This is great! Well Done

You should make EXE’s of this at various points so non Pro users can check it out.

Great stuff

Based on Amiga PD game Squigs. Early shots: http://www.custardsoft.pwp.blueyonder.co.uk/images/03.png

Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 28th Mar 2004 22:58
I would but the .exe would be about 4MB (rather than 15kb) and I can't be bothered to upload it anywhere.

It 'works' in DBC.

MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 28th Mar 2004 23:29
Whoa, Neat-O.

I still stand by what I said earlier, this should be in the next TGC newsletter if progress like this keeps going. Simple amazing for no media.



A book? I hate book. Book is stupid.
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Mar 2004 00:43 Edited at: 30th Mar 2004 00:46
I added a new toy - trampoline

It's quite far right. It will fire you right as well and you'll be able to adjust it's angle with +'s and -'s.

spooky
21
Years of Service
User Offline
Joined: 30th Aug 2002
Location: United Kingdom
Posted: 30th Mar 2004 01:01
Really good!

Boo!
Code Ninja
20
Years of Service
User Offline
Joined: 17th Dec 2003
Location: AZ, U.S.
Posted: 30th Mar 2004 01:32
when you say it'll work in DBC do you mean normal DBC or enhanced DBC? really what im trying to ask is, will it work with DBC 1.10?

Dragael Software
Current Project: 2D RPG Editor (DragnEdit 2D)
MikeS
Retired Moderator
21
Years of Service
User Offline
Joined: 2nd Dec 2002
Location: United States
Posted: 30th Mar 2004 02:03
Why not just go ahead and copy and paste?



A book? I hate book. Book is stupid.
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Mar 2004 11:49
It runs it in DBC but it's pretty much unplayable.

I think I forgot to paste the trampoline code:



Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Mar 2004 12:00 Edited at: 30th Mar 2004 12:00
OK. Ideas pleadge time.

I need more ideas for enemies. So far I've got-

Integers - These are either positive or negative whole numbers. You have to make them equal to 0. If you hit them with the wrong sign they get stronger.

Polygons - You have to hit these with -'s to remove sides from them, adding sides to them makes them faster. When you have reduced them to a triangle they can't roll anymore and will become a spike on the floor which you can't destroy.

Right angled triangles - These are stationary and are basically cannons. They aim up and down and shoot at you. Hit them with anything.

If anyone can come up with anymore (maybe a flying one) It'd be greatly appreciated.

Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 30th Mar 2004 15:12 Edited at: 30th Mar 2004 15:15
Adjustable, working trampolines.



A Screenshot:



Flashing Blade
21
Years of Service
User Offline
Joined: 19th Oct 2002
Location: United Kingdom
Posted: 1st Apr 2004 20:30
This is good - smoooooth

Can't think of enemies, but maybe Pi as a health pick-up?
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 8th Apr 2004 18:38
Thanks.

I've been on holiday so I haven't been able to update it at all.

TheOneRing
20
Years of Service
User Offline
Joined: 28th Aug 2003
Location: Right here.
Posted: 8th Apr 2004 20:15
One of the coolest things I've seend in a long time.
Chris K
20
Years of Service
User Offline
Joined: 7th Oct 2003
Location: Lake Hylia
Posted: 9th Apr 2004 00:15
What the hell?!?

When I run the code now it doesn't work properly. The sun is bright red and the screen scrolls the wrong way. Is this happening for anyone else?

Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 17th Apr 2004 06:26
Cool indeed. But I broke it and I don't know how yet ..... sometimes the walking animation locks up and he moves but no animation.

"People don't fail ..... they stop trying." Specs. P4 2.8GHz 800 FSB | 512MB DDR333
GeForce FX 5200 AGP 256MB | Windows XP Pro Full

Login to post a reply

Server time is: 2024-05-13 20:56:28
Your offset time is: 2024-05-13 20:56:28