New Platform Game (Untitled) .05

User projects written in or related to FreeBASIC.
DaveUnit
Posts: 239
Joined: Apr 20, 2006 15:47
Location: Central MA
Contact:

Postby DaveUnit » Dec 24, 2007 2:05

epic's unreal engine and valve's source engine have spawned several games that aren't similar to all the others.

but at least to me there's always a desire to have created your own engine rather than borrowed someone elses.
cha0s
Site Admin
Posts: 5317
Joined: May 27, 2005 6:42
Location: Illinois
Contact:

Postby cha0s » Dec 24, 2007 2:15

Yeah, you don't have to create every object every programmer wants. What you need to do is create a robust system for registering and then operating on whatever objects the user implements.
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Postby vdecampo » Dec 26, 2007 3:31

I changed the flipping code to this...

Code: Select all

Public Sub FlipIt (FS As Any Ptr,CS As Any Ptr,ByRef PE As _PlatEngine)

   DrawSprite (FS,0,0,CS)
   ScreenLock
   ScreenSync
   memcpy ScreenPtr,imgBytes(FS),ScreenWidth*ScreenHeight*2
   ScreenUnLock
               
End Sub


I am using just one video page now, locking it and copying the final composited image to it from a buffer image.

Could those who experienced shear or studder check to see if this cleared it up?

http://www.imakegames.com/platengine.zip

Thanks
-Vince
Dr_D
Posts: 2391
Joined: May 27, 2005 4:59
Contact:

Postby Dr_D » Dec 26, 2007 3:40

that's quite a bit better on this end. it still has a little shear, but not nearly as bad as before.
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Dec 26, 2007 4:21

It runs pretty smooth here, although the screensync should be *after* to memory copy and just before unlocking the screen.
print_s
Posts: 13
Joined: Nov 15, 2007 17:58
Location: Philadelphia, PA
Contact:

runs smooth

Postby print_s » Jan 07, 2008 16:51

I noticed that if you have the wings near the end of the level , you can
go over the right-most wall and get stuck. Also mid-level there is a hole
that goes all the way down. Good place to go to the next level. I like the way
you use a real bitmap as the world map. Should make level creation easy.
Keep up the good work.
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Re: runs smooth

Postby vdecampo » Jan 07, 2008 17:01

print_s wrote:I noticed that if you have the wings near the end of the level , you can
go over the right-most wall and get stuck.


Shhhhh! That's the way to get to a secret level! :-0

DOH!

-Vince
ssjx
Posts: 34
Joined: Oct 23, 2007 8:51
Contact:

Postby ssjx » Jan 07, 2008 19:00

Hi,
I like the game, i get about 34fps (athlon xp2000).

Just curious, what is the freeimage.dll used for?
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Postby vdecampo » Jan 07, 2008 19:23

I only use it for loading jpg. I plan to replace it with something else.

Cheers!
-Vince
dabooda
Posts: 112
Joined: Aug 28, 2006 21:35
Location: Texas
Contact:

Postby dabooda » Jan 08, 2008 11:07

I get about 38-40 on my cheap 1.6ghz here. Not bad and the scrolling engine is quite nice. I get mild flickering and shuttering, but that is do to my weak system I am sure. Keep it up, this will become something pretty groovy if you keep going.

DaBooda out...
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Postby vdecampo » Jan 11, 2008 2:07

I have updated the platform engine with some new features....

1. Non-collision entities
2. Layering of entities
3. Triggered entities
4. some bug fixes and tweaks

To test it out, get it here...

http://www.imakegames.com/platengine.zip 672kb Win32

Cheers!
-Vince
roook_ph
Posts: 402
Joined: Apr 01, 2006 20:50
Location: philippines
Contact:

Postby roook_ph » Sep 29, 2009 6:53

I cant download are there any alternatives?
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Postby vdecampo » Sep 29, 2009 14:06

Link fixed.

FYI: This project is dead.

-Vince
vdecampo
Posts: 2982
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Postby vdecampo » Sep 29, 2009 16:03

Since I have no plans on completing this project, I am releasing the project to the community.

Download Complete Project (12Mb)

-Vince
1000101
Posts: 2556
Joined: Jun 13, 2005 23:14
Location: SK, Canada

Postby 1000101 » Sep 29, 2009 23:39

I forgot about this. You can't abandon it, I haven't played a good platformer in a long time. :P

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest