This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Hackingroelz's profile picture

My new computercraft game

Started by Hackingroelz, 10 March 2012 - 01:34 PM
Hackingroelz #1
Posted 10 March 2012 - 02:34 PM
Hello

I'm currently working on a new game for computercraft. It will be an RPG. I just finished the basics, so now I can work on the cool stuff

It's in the program library now: http://www.computercraft.info/forums2/index.php?/topic/1593-game-rpg-turtlerpg/page__hl__turtlerpg__fromsearch__1

[media]http://www.youtube.com/watch?v=ArVVS0DIDGY&feature=plcp&context=C4d1c3b2VDvjVQa1PpcFNCPFyDYrF6LCSOSjExlXk0PHR2GGGXXLs=[/media]
Hackingroelz #2
Posted 10 March 2012 - 09:32 PM
I made an update to my game. It includes NPC's and bows.
http://www.youtube.com/watch?v=rX-7zxiPpNI&feature=plcp&context=C4d1c3b2VDvjVQa1PpcFNCPFyDYrF6LCSOSjExlXk0PHR2GGGXXLs=
ComputerCraftFan11 #3
Posted 11 March 2012 - 12:46 AM
awesome
Chlorek #4
Posted 11 March 2012 - 09:04 AM
Your game is really cool, man! I think how did you do that. All game is two dimensional array with many "IF's", isn't it? Can you tell me how did you do "bullets"?
Hackingroelz #5
Posted 11 March 2012 - 10:11 AM
Every time the game updates everything gets deleted, after everything is deleted I use multiple 2d arrays to recreate everything. When moving out of the screen I change a varieble. When redrawing I do the drawing X + a varieble and I do the drawing Y + a varieble. For the arrows I made a value in the array of arrows that tells the scene drawing function how much further it should draw the arrow.
Hackingroelz #6
Posted 11 March 2012 - 10:31 AM
Has anybody any suggestions for items/obstacles?
Jan #7
Posted 11 March 2012 - 02:12 PM
Looks good :mellow:/>/>
Maybe you could add a dieing animation for the NPC, so that you will see an @-character for 1 second.
As obstacles you can try to make some trees? or a river using ~ as waves.
Hackingroelz #8
Posted 11 March 2012 - 06:21 PM
Made another update. Now I will focus on fixing bugs and then I'll release it.

[media]http://www.youtube.com/watch?v=ppTNkcoj-sc[/media]
Jojo.bacon #9
Posted 21 March 2012 - 01:54 AM
looks pretty sweet, maybe you could have a status box a the bottom of the screen with health/ammo and npc dialog!
BlackRa1n #10
Posted 25 March 2012 - 09:10 PM
Wow! :(/>/>
Ludburghmdm #11
Posted 26 March 2012 - 08:11 AM
Release it…NOW!!!!!
BlackRa1n #12
Posted 26 March 2012 - 06:52 PM
Release it…NOW!!!!!

Or we could let him make it into a game with a story line and something to do rather than just wonder in and out of a building…
Wolvan #13
Posted 26 March 2012 - 07:40 PM
If you need help, just ask me. I so totally want to help you
Hackingroelz #14
Posted 27 March 2012 - 11:46 AM
Release it…NOW!!!!!

Or we could let him make it into a game with a story line and something to do rather than just wonder in and out of a building…
If you need help, just ask me. I so totally want to help you
Helping isn't that hard, I made it so it's simple to create levels.
Here's an example:
Spoiler


function world() -- The main world
addLine(1, 6, "up", 5) -- adds a line that begins at (1, 6) and goes up 5 blocks
addLine(2, 2, "right", 5)
addLine(7, 6, "up", 5)
addBlock(1, 6) -- adds a block at (1, 6)
addBlock(2, 6)
addBlock(3, 6)
addBlock(5, 6)
addItemMagicStaff(10, 10, "fire") -- adds a fire staff at (10, 10)
addBlock(6, 6)
addDoor(4, 6, "test") -- adds a door that will load a level named "test"
addBlock(7, 6)
addNPC(10, 10, "dumb") -- adds an NPC with the AI type dumb
if changeMainWorldCors then -- checks if the spawn cords should change
x = mainWorldX
y = mainWorldY
end
update() -- updates the screen
end
function createLevel(levelCreate)
if levelCreate == "test" then -- Defines the level "test"
addLine(1, 10, "up", 9)
addLine(2, 2, "right", 10)
addLine(12, 10, "up", 9)
addBlock(2, 10)
addBlock(3, 10)
addBlock(4, 10)
addDoor(5, 10, "world") -- adds a door to the main world
addLine(6, 10, "right", 6)
addItemBow(6, 6) -- adds a bow at (6, 6)
x = 5 -- changes the spawn cords for "test"
y = 9
changeMainWorldCors = true
mainWorldX = 4 -- change the cords where the player will spawn when he goes back to the main world
mainWorldY = 7
end


But does anybody REALLY want to have this game? I stopped working on it but if there are people that like it then I'll keep developing.
Wolvan #15
Posted 27 March 2012 - 12:37 PM
I want it!
Ian-Moone #16
Posted 27 March 2012 - 09:14 PM
if i don't get this im screwed.
it looks amazing
SquareMan #17
Posted 28 March 2012 - 01:27 AM
I would like it, especially if you wouldn't mind people looking at the source code, I could learn a lot from this.
Ian-Moone #18
Posted 28 March 2012 - 08:14 AM
i agree but if open source is to much ill just play it
Guard13007 #19
Posted 15 May 2012 - 04:13 PM
How could it not be open source?

Unless roel15 obsfucates it, it's an interpreted language, the source is what you run.

And I am with them, it's not the game you've made so far, but the engine you're making for the game that people are interested in (or at least I assume that's what people are after, since the game hasn't been developed past basic testing).
tommyroyall #20
Posted 21 May 2012 - 01:18 AM
I would love to play this, mod it, make a modloader or have modding capabilities, and see the source. This will be like when I played Casper's MiM into the ground (1 week of life, gone to playing MC on a comp in MC).
But overall, yes, I would love to play this, and also help you develop it if you would wish :P/>/>.
Liara11 #21
Posted 22 July 2012 - 02:03 AM
This is REALLY GOOD SO FAR you should keep devolping it!!! Also an idea for what to add, something like an npc or other that shoots back, adding a little mroe exitment to the game :3. Great job!
ElectricOverride #22
Posted 10 October 2012 - 04:59 PM
How do you fire the bow?
ElectricOverride #23
Posted 28 November 2012 - 09:19 AM
Nvm, figured it out. :)/>