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

CCRedirection

Started by RamiLego4Game, 23 February 2014 - 10:33 PM
RamiLego4Game #1
Posted 23 February 2014 - 11:33 PM
CCRedirection, Dan200 Game on ComputerCraft

This is my First Topic and the First Game

It's The Same idea of Dan200's Game, But it's 2D
Currently The Game Support Custom Levels, So i will ask NitrogenFinger To Create Level Editor

How To Play:
To Launch The Game After Downloading use "CCR/CCR 3" 'Replace 3 With Level Number'
   The Available Levels Are From 0 To 6 (Level 0 is Not Beatable)
   Blocks:
	  The (Light Gray Spaces) are Ground
	  The (Light Gray Spaces With Arrows) are Robots Start Point, Robots Just Spawns At The Start of The Game
	  The (Light Gray Spaces With X) are Exit Point For Robots
	  The (Gray Spaces) are Wall
	  The (Block Spaces) are Space
	  The (Blue or Red or Green or Yellow Spaces) are Robots

   Robots Movement:
	  The Robot Turn If He Face Another Robot or a Wall
		 The Blue and Green Robots Turns Left
		 The Red and Yellow Robots Turns Right
	  The Robot Get Deleted if He Fall To Space
	  The Robot Stops if it Stepped on Exit with The Same Color Of The Robot

   If You Clicked on Ground or Exit or Start You Will Change it To Wall

   Game Goal:
	  The Goal is To Add Needed Block To Get The Robots on Exit

   Info:
	  The Game Creates Logs At CCR/Logs
Happy Playing :D/>/>

Download :
pastebin get 4FwbMjUr CCRIns
And Then Launch The File
Source Code : http://www.github.co...e/CCRedirection

Change Log:
Alpha1.3A: Now There is Speed Button Near The Exit Button
Fixed Log Error (Thanks for Bomb Bloke)
Alpha1.4A: New There is Block Limit

I will Copy Official Levels Soon Copied First 6 Levels

To Run a Level Use "CCR/CCR 3" 'Replace 3 With Level Number'

ScreenShots:
Edited on 01 March 2014 - 12:29 PM
Csstform #2
Posted 24 February 2014 - 09:20 AM
A diamond means you are following it… I'll test it as soon as you have a pastebin.
RamiLego4Game #3
Posted 24 February 2014 - 09:56 AM
Ok, Now I'm Working On Pastebin Done
i have Startup file that loads Log API so you should Backup startup file, And Level 1,2 for Debugging use Level 3, theres no anu level to play.
Edited on 27 February 2014 - 05:48 PM
Csstform #4
Posted 27 February 2014 - 07:33 PM
I'll take a look as soon as I get a chance. Currently, I'm out of town. Also, you should enclose the pastebin like this:
 pastebin get (code here) name
in addition, I would suggest a link.
Sample link
RamiLego4Game #5
Posted 28 February 2014 - 08:08 AM
Currently the pastebin downloads the latest installer from github and save it as CCRInstaller
And CCRInstaller downloads all the files
oeed #6
Posted 28 February 2014 - 09:43 AM
The best way to get people to use your program is to show screenshots.

Also, I'm getting an error when I try to run it:

log:7: attempt to call nil
RamiLego4Game #7
Posted 28 February 2014 - 01:02 PM
I create fix for your Problem
You Should Delete CCR folder and reinstall the game
Bomb Bloke #8
Posted 28 February 2014 - 01:43 PM
That's odd, I'm not seeing any recent changes on the hub suggesting you've submitted anything in the last few hours…?

In any case I suspect it'll still error; it likely has to do with this CC-version-dependent issue. Assuming I've got it right, in CCR\log, changing line 6 to this should resolve it:

log = fs.open(sDir,fs.exists(sDir) and "a" or "w")

For me, the main script downloaded under the name "CCR" (as opposed to "CCR.lua", as it is on the hub). Hence I needed to enter eg "CCR\CCR 0" to play it.

For those wondering, the basic premise is that arrows bounce around a grid, changing direction based on tiles they pass over (think Chu Chu Rocket). They can pass through light grey spaces, turn if encountering dark grey spaces, and are lost if they move into black spaces. Your goal is to bump them into their respective X tiles.

You can turn light grey into dark grey tiles by clicking, but there doesn't seem to be a limit on how many you can flip and I can't see an obvious way to revert them once you do.

I've been able to play through all levels except 0, which appears to be unbeatable?

It appears you cannot place blocks directly in front of arrows. You can place ON arrows, however, which has the side effect of instantly pushing them forward. Speaking of which, a fast forward button would be nice.
RamiLego4Game #9
Posted 28 February 2014 - 02:39 PM
I'm Testing on CCDesk
Now i'm working on blocks limit
I will add The Log Fix, Thanks :)/>/>/>
Yep, At offical Block Game the level 0 is for main menu

That's odd, I'm not seeing any recent changes on the hub suggesting you've submitted anything in the last few hours…?

In any case I suspect it'll still error; it likely has to do with this CC-version-dependent issue. Assuming I've got it right, in CCR\log, changing line 6 to this should resolve it:

log = fs.open(sDir,fs.exists(sDir) and "a" or "w")

For me, the main script downloaded under the name "CCR" (as opposed to "CCR.lua", as it is on the hub). Hence I needed to enter eg "CCR\CCR 0" to play it.

For those wondering, the basic premise is that arrows bounce around a grid, changing direction based on tiles they pass over (think Chu Chu Rocket). They can pass through light grey spaces, turn if encountering dark grey spaces, and are lost if they move into black spaces. Your goal is to bump them into their respective X tiles.

You can turn light grey into dark grey tiles by clicking, but there doesn't seem to be a limit on how many you can flip and I can't see an obvious way to revert them once you do.

I've been able to play through all levels except 0, which appears to be unbeatable?

It appears you cannot place blocks directly in front of arrows. You can place ON arrows, however, which has the side effect of instantly pushing them forward. Speaking of which, a fast forward button would be nice.
As Alpha 1.3A, Now There is Speed Button Near The Exit Button
Simply Delete CCR Folder and Reinstall The Game
Edited on 28 February 2014 - 04:34 PM
RamiLego4Game #10
Posted 01 March 2014 - 05:12 PM
New Verstion, Àlpha 14A
Now with Speed button, Space Background And Centered Map
ScreenShots Updated
Please Give Me Feeeed Backkkk :(/> :(/> :(/>
masterdisasterHD #11
Posted 06 March 2014 - 09:23 AM
i like it
Edited on 06 March 2014 - 08:23 AM
RamiLego4Game #12
Posted 06 March 2014 - 02:05 PM
Finally Feed Back :D/> :D/> :D/> :D/> , I Started Working On Main Menu B)/>
TheOddByte #13
Posted 09 March 2014 - 07:53 PM
Really cool, Though I've detected a bug.
When the turtles go torwards eachother and finally get at the same position one of them will turn around I think and the other one will disappear or it's at the same position as the other one.


RamiLego4Game #14
Posted 10 March 2014 - 04:40 PM
Really cool, Though I've detected a bug.
When the turtles go torwards eachother and finally get at the same position one of them will turn around I think and the other one will disappear or it's at the same position as the other one.


Can you send the latest log from CCR/Logs/Log#. Edit : Fixed With a Changing a Letter at Line 360 (Changing "o" to "t") Now at Alpha 1.5B
also how do you have green computer ?
Edited on 10 March 2014 - 03:47 PM
TheOddByte #15
Posted 12 March 2014 - 12:50 PM
I'm using CCEmu by tomass1996, So that's how I have a green computer :3
RamiLego4Game #16
Posted 13 March 2014 - 12:40 PM
I'm using CCEmu by tomass1996, So that's how I have a green computer :3
Can You Send Me The .ccemu and the launcher to my email (ramilego@gmail.com) ?
TheOddByte #17
Posted 13 March 2014 - 03:22 PM
Uhmm.. I uploaded it to mediafire a long time ago.
Here's the topic I posted the links in: http://www.computerc...post__p__164619
Edit: Here's the original topic http://www.computercraft.info/forums2/index.php?/topic/15983-old-ccemu-launcher/
Edited on 13 March 2014 - 02:28 PM
RamiLego4Game #18
Posted 03 April 2014 - 03:50 PM
Now I Started Adding Computercraft 1.6+ Support :D/>
RamiLego4Game #19
Posted 29 April 2014 - 12:48 PM
My Game is Now in Computercraft since 1.63