• RollerCoaster Tycoon clone
    104 replies, posted
  • Avatar of Zyx
  • A few months ago I wanted to create something in Java. A game specifically. Since I have always been a huge fan of RollerCoaster Tycoon, I though I might as well try and make that. I posted about it in the WAYWO thread and people seems to like it, but I always had one problem: It couldn't start from it's own .jar file. I fixed that error and now I might as well make a thread about it here. [url=http://dl.dropbox.com/u/99717/RCT%20Programming/RollerCoasterTycoon.jar]Download the .jar here[/url] [url=https://sourceforge.net/projects/rctclone/]And the source is avalible here[/url] Controls are as followed: -Left click = Create/Raise -Right click = Remove/Lower -Buttons 1 through 5 selects the tool (Can also click on the icon) -Saved terrains will be saved in the same folder as the .jar file -Loaded terrains must be placed in the same folder as the .jar file and must be a .png -Loaded terrains must be 31*31 pixels There are are few that either bugs or just aren't made yet: -You can make illegal terrain with no tile tied to it, but game wise it will still work. It will just be invisible. -Guests that start walking South East or South West will walk with double speed. It will be fixed if the tile they are created on are removed, or they pass over it again. -Cannot rotate items -Fountains don't animate Feel free to report anything else and I might look into it some day :v: Progress is as followed: [img]http://dl.dropbox.com/u/99717/RCT%20Programming/Isometric.png[/img] Taken shortly after I figured out how to make the isometric grid and raise/lower tiles. Now you can raise a tile by 1 pixel per click, so not really RCT like. [img_thumb]http://dl.dropbox.com/u/99717/RCT%20Programming/Heightmap.png[/img_thumb] Implemented a load/save feature of terrain. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/Heightmap%20%282%29.png[/img] It saves terrain into height maps like this. Each pixel is a corner of a tile. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/Not%20RollerCoaster2.gif[/img] A gif showing progress. It got a tree. Black parts are pavements connected to a nearby pavement. Gray tiles are connectionless pavement tiles. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/PeopleWalking.png[/img] I added guests that simply glides across the pavement [img]http://dl.dropbox.com/u/99717/RCT%20Programming/TreeBrowser.png[/img] Then came the tree browser with 36 trees to chose from. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/Done.png[/img] Someone asked for the elephant fountain, so I added that too. Together with benches, lamps and litter bins. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/DatLandscape.png[/img] Terrain textures taken from ingame. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/Pavement.png[/img] Together with pavement, also taken from ingame. [img]http://dl.dropbox.com/u/99717/RCT%20Programming/WalkingGuests2.gif[/img] Then guests started walking and 4 different guest colors. [url=http://dl.dropbox.com/u/99717/RCT%20Programming/RollerCoasterTycoon.jar]Download the .jar here[/url] [url=https://sourceforge.net/projects/rctclone/]And the source is avalible here[/url]
  • Wow, this is so amazing. Since it is in java already, you should eventually try to do an android port of it
  • Avatar of Captain Forever
  • [QUOTE=Shammah;33859045]Mother of God ... You should worry about copyright infringements though.[/QUOTE] Follow OpenTTD.
  • Avatar of bassie12
  • [QUOTE=Captain Forever;33859111]Follow OpenTTD.[/QUOTE] OpenRCT with multiplayer? I could imagine that being fun in some way.
  • Avatar of Instant Mix
  • Instead of making sprites couldn't you technically just add in a model / voxel renderer right in game , bypassing the massive sprite files used?
  • Avatar of Hatsen
  • [QUOTE=bassie12;33859153]OpenRCT with multiplayer? I could imagine that being fun in some way.[/QUOTE] Everybody gets the same map. Who have the best rating after [b]X[/B] number of years? Who had most satisfied guests after [B]X[/B] number of years? Who can make the best rollercoaster? CO-OP - Can two or four brothers agree on how to build a rollercoaster let alone a theme park? [B]GOD the possibillities![/B]
  • Avatar of Zyx
  • [QUOTE=garry;33858858]I'm jealous. This is the one thing I always wanted to code.[/QUOTE] It's never too late!
  • Nice! However its pretty sluggish on my computer and does this: [img]http://i.imgur.com/g8Ryn.png[/img] Best of luck, anyways!
  • Avatar of Zyx
  • [QUOTE=Map in a box;33866004]Nice! However its pretty sluggish on my computer and does this: [img]http://i.imgur.com/g8Ryn.png[/img] Best of luck, anyways![/QUOTE] That's because I don't check for illegal terrain when raising/loweing. And since it cannot find a tile texture fitting it just doesn't draw any.
  • Avatar of Loli
  • If you need any help with coasters gimme a shout, I'm somewhat of a coaster enthusiast... Include all the B&M's / Vekoma's / Intamin's/ Mack's / Huss' you possibly can.
  • Avatar of Nigey Nige
  • Love it! I'm gonna poke around in the source and pick up all your bad coding habits :3
  • Avatar of Philly c
  • RCT is such a damn good game. I'm not sure if you're continuing but I still think you should load graphics from the original files. They've been documented and cropping stuff out and arranging it in paint is a fast way to get nowhere.
  • Avatar of Wickedgenius
  • [QUOTE=garry;33858858]I'm jealous. This is the one thing I always wanted to code.[/QUOTE] Well you do run a game development company now. I know I'd buy it along with the million and one other people who loved these games ;)
  • Avatar of All0utWar
  • [QUOTE=Wickedgenius;33883161]Well you do run a game development company now. I know I'd buy it along with the million and one other people who loved these games ;)[/QUOTE] I don't think he'd be able to sell it though, copyright infringement.
  • [QUOTE=All0utWar;33890544]I don't think he'd be able to sell it though, copyright infringement.[/QUOTE] Doesn't have to be a rollercoaster tycoon
  • Avatar of Eric95
  • [QUOTE=Map in a box;33892495]Doesn't have to be a rollercoaster tycoon[/QUOTE] He can make a similar game, "Carnival Owner"
  • Avatar of backwardspy
  • [QUOTE=Eric95;33897095]He can make a similar game, "Carnival Owner"[/QUOTE] I must say, "Carnival Owner" doesn't really have the same exciting ring as "Rollercoaster Tycoon". Personally, I'd go for "Funfair Overlord".
  • Avatar of Yogurt
  • [QUOTE=Chris220;33899277]I must say, "Carnival Owner" doesn't really have the same exciting ring as "Rollercoaster Tycoon". Personally, I'd go for "Funfair Overlord".[/QUOTE] "Enjoyment Captivator"
  • Avatar of Loli
  • In the style of the ever popular "Maurice" I present to you... [B]Not Rollercoaster Tycoon[/B]
  • Avatar of altern
  • Are you going to continue updating and adding things? [editline]26th December 2011[/editline] If you were to add modding support, this could get big
  • Avatar of Zyx
  • [QUOTE=altern;33906653]Are you going to continue updating and adding things? [editline]26th December 2011[/editline] If you were to add modding support, this could get big[/QUOTE] Unfortunately I don't see myself working on this project anymore. When I made it, I had only worked with Java for a grand total of 1 year, so I'm pretty sure I have made a lot of mistakes, that makes it too messy to work with.
  • Avatar of subenji99
  • You should stick with it - rewrite anything that is unwieldy, but resist giving up on it, and resist starting over. You'll probably find that most of your code isn't as bad as you think. [quote]There's a subtle reason that programmers always want to throw away the code and start over. The reason is that they think the old code is a mess. And here is the interesting observation: they are probably wrong. The reason that they think the old code is a mess is because of a cardinal, fundamental law of programming: It’s harder to read code than to write it.[/quote] [url]http://www.joelonsoftware.com/articles/fog0000000069.html[/url] And as this thread is testament to, there are many here interested in an open-source RCT game!
  • [QUOTE=bassie12;33859153]OpenRCT with multiplayer? I could imagine that being fun in some way.[/QUOTE] Please please please [b]PLEASE[/b] let this happen!
  • Avatar of Marineio
  • [QUOTE=garry;33858858]I'm jealous. This is the one thing I always wanted to code.[/QUOTE] Maybe we could get some kind of Facepunch community collaboration project going to make this game? Seems to be quite a lot of demand for a multiplayer RCT game!