Voodoo!

Advanced game related topics
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Voodoo!

Post by DoubleDutch »

Can some of you try out this initial coding of a game written in PureBasic:

http://www.doubledutchdesigns.com/download/voodoo.exe

Please respond if you have any crashes, slowdown, etc...

Press "D" during test to see debug info & help for extra debug commands such as "C" to toggle collision detection.


Thanks,

Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Everything works fine here

Post by Fangbeast »

No crsahses, no slowdowns. I just have to get used to the way you change direction:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
filperj
User
User
Posts: 77
Joined: Tue Sep 16, 2003 8:53 pm
Location: Nevers(France)

Post by filperj »

Works nice here, too! :D

Only thing: when you're moving on a bridge, the feet of the character are not displayed correctly, looks like the sprites are not sorted exactly in the right order in that case :roll:

What kind of game will it be ?
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Its a re-write of Voodoo Nightmare that was on the Amiga/ST. It was originally written by Pete Harrison.

The original game was a 15hz frame flip screen isometric, I've redesigned the way it works to be a 60hz scrolling isometric. :)

The original game was quite big, in concept it kinda reminded me of something that would appear on the snes or megadrive.

Anyhow, Pete has given me permission to re-write it and to have the rights to the Linux / Windows / Mac versions.

The final version will be going up as shareware for about a tenner (€15). Hopefully it should be finished in about a month, it depends on how much/if I may need to update the graphics and also how much free time I have.

The front panel, main character animations and extra sprites should be in by tomorrow night. The level engine and some sound fx should be in over the weekend.

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Voodoo!

Post by PB »

"Cannot start 3D system" :(
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Whats happens if you run this code:

Code: Select all

If InitSprite()=0 Or InitKeyboard()=0
  MessageRequester("test","Can't open DirectX 7 Or later")
  End
EndIf

If InitSprite3D()=0
  MessageRequester("test","Direct3D system can't be initialized correctly")
  End
EndIf

If OpenScreen(640, 480, 16, "test")=0
  MessageRequester("test","cannot open screen")
  End
EndIf

If Start3D()
  Stop3D()
  CloseScreen()
Else
  MessageRequester("test","Cannot start 3D system") 
  End 
EndIf
      
MessageRequester("test","All worked okay!")
:?:
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

"All worked okay!"

I just re-downloaded Voodoo.exe and tried it again, and it worked this time.
Obviously my PC just had a fit of some sort the first time I ran it. Sorry! :oops:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

DoubleDutch, everything works ok. but got a question: Is the player supossed to move that fast? I press the up arrow and the guys on the other side of the level already (more or less..).. Maybe you're not limiting the frame rate? or the method is not very good? or its just that fast? :|
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The frame rate should be about 60hz, did he move thru objects?

He should have been stopped from getting too far by hitting an object (unless you have pressed C to turn off collision detection)?

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

dagcrack: I've uploaded a new version http://www.doubledutchdesigns.com/download/voodoo.exe that has the frame rate setting stuff moved slightly.

It may have not been executed - but should be okay now, thanks for spotting the bug. :)

filperj: I've noticed what you mean - the sorting problem should go away when the animations are in.

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Hi, no.. what I meant is that if I went to a place or the other, the movement was instant! (I thought the guy was Flash!).

Now it works nicer, but still its quite fast.
lets see if anyone finds it fast as well? :?
Blade
Enthusiast
Enthusiast
Posts: 362
Joined: Wed Aug 06, 2003 2:49 pm
Location: Venice - Italy, Japan when possible.
Contact:

Post by Blade »

I should check, but usually with isometric view games UP and DOWN moves the character down-left / up-right ...
In fact I get sick just after few seconds... ;)

On example for all, Q*Bert
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

The game will have 8 directions when the animations have been added - just sorting out something else at present.

Up, will be up, down will be down, etc...

:)

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Blade
Enthusiast
Enthusiast
Posts: 362
Joined: Wed Aug 06, 2003 2:49 pm
Location: Venice - Italy, Japan when possible.
Contact:

Post by Blade »

Feeling better.... :D
User avatar
DoubleDutch
Addict
Addict
Posts: 3220
Joined: Thu Aug 07, 2003 7:01 pm
Location: United Kingdom
Contact:

Post by DoubleDutch »

Animation & better control is in now, along with sound....

Press D for debug, its in the usual place... :)

Please report any problems

Thanks

-Anthony
https://deluxepixel.com <- My Business website
https://reportcomplete.com <- School end of term reports system
Post Reply