New Platform Game (Untitled) .05

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
DaveUnit
Posts: 239
Joined: Apr 20, 2006 15:47
Location: Central MA

Post by DaveUnit »

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: 5319
Joined: May 27, 2005 6:42
Location: USA
Contact:

Post by cha0s »

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: 2992
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Post by vdecampo »

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: 2451
Joined: May 27, 2005 4:59
Contact:

Post by Dr_D »

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

Post by 1000101 »

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

Post by print_s »

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: 2992
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Re: runs smooth

Post by vdecampo »

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:

Post by ssjx »

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

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

Post by vdecampo »

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:

Post by dabooda »

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: 2992
Joined: Aug 07, 2007 23:20
Location: Maryland, USA
Contact:

Post by vdecampo »

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:

Post by roook_ph »

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

Post by vdecampo »

Link fixed.

FYI: This project is dead.

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

Post by vdecampo »

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

Post by 1000101 »

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