Page 1 of 2

Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 10:27 am
by timfrombriz
Hi Guys,

Ive been working on a Roller Coaster Tycoon engine for a number of years now, Im from VB6 and made the decision to attempt to transition to PureBasic. My engine is in early development, and I decided to show one part of it.

I hope the forums can help me adjust to the PureBasic coding dialect and hope to share with you on my dream to finish a solid engine base that emulates Roller Coaster Tycoon...

Follow this link to a zip with a compiled VB6 app demonstrating some basic elements
https://docs.google.com/leaf?id=0B-U90_ ... y=CKGQv9oN

**Edit**
Alternative download link:
http://anotherprophecy.com/system/scrip ... atrix3.zip

Image
Thanks and hope to get to know the regulars!

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 11:27 am
by MachineCode
[Avira false positive snapshot removed]

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 11:39 am
by timfrombriz
False Positive, feel free to VirusTotal check it;
http://www.virustotal.com/file-scan/rep ... 1305973625

Because my code utilizes some low level techniques within VB6 like pointers and inline ASM, Avira detects these as heuristics for Malware.

How can I post a screenshot?

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 11:41 am
by MachineCode
Forewarned is forearmed. But anyway, it's all good. Sorry for the false report!

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 12:12 pm
by timfrombriz
Logical Prevails surely; Why should I need to forewarn users about Avira and false positives...

Think about the Virus Total results, 2 out of 40 virus scanners throw up a alarm, and Im not using Avira, why should I be responsible for hilighting that your particular Virus scanner has high false positive counts when tested [refer to Av-Comparatives.org]?

Anyway, the exe is clean, its written in VB6 and utilizes the SetDibBits Api to flush offscreen DIBS, pixel pushed onto the screen. I was going to write a DX7 layer in vb6, but Ive noticed that trying to optimize VB6 code to be efficient as possible is going to be a hard task. Im achieving excellent results considering this is running in GDI only. Hence the desire to transition to PureBasic.

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 12:19 pm
by timfrombriz
btw, this engine primarily demonstrates the drawing routes and window manager;

You can move the window, resize the window, and click the various user interface items, buttons, tabs, hover buttons, scroller. It also demonstrates the font system, and has a basic isometric map being rendered in the back

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 3:38 pm
by c4s
Hm, when clicking on "Download" the browser doesn't download anything but shows a blank site...

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 3:51 pm
by timfrombriz
Its working for me this end, its hosted by Google Documents, and I presume its a permanent URL, not time expiring.

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 3:58 pm
by djes
Welcome on board ! You app works nicely here :)

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 5:08 pm
by c4s
Well, strange. I'm definately not able to download it using Firefox 4.0.1.

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 5:59 pm
by PMV
I get a 404 with any browser i have installed. (Opera 11.10 and 10.10, IE8, Firefox 3.6)
Do we need to have a google-account (logged in)?

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 8:41 pm
by Nituvious
I too was unable to download anything. I just get a blank white page. Using Google Chrome.

If you need a dedicated file host that doesn't have dead links you can try my file host service. It's free, if you're interested it's here. The only thing is, you need to register an account before you can upload, that way no one can hijack your download links.

Re: Roller Coaster Tycoon Engine

Posted: Sat May 21, 2011 9:14 pm
by ts-soft
PMV wrote:Do we need to have a google-account (logged in)?
a account is required, logging is automatic.

Re: Roller Coaster Tycoon Engine

Posted: Sun May 22, 2011 12:48 am
by timfrombriz

Re: Roller Coaster Tycoon Engine

Posted: Sun May 22, 2011 2:11 am
by Nituvious
timfrombriz wrote:Added this to the first EntRy

http://anotherprophecy.com/system/scrip ... atrix3.zip

Image
Very cool, it runs very smooth too! How many lines of code do you need to convert to PureBasic?