#741
Posted 13 October 2016 - 01:46 PM
#742
Posted 25 October 2016 - 06:03 AM
dan200, on 09 July 2015 - 01:32 PM, said:
The hype is real!
Edited by Anavrins, 25 October 2016 - 06:03 AM.
#743
Posted 27 October 2016 - 11:50 PM
I've just finished documenting the Robot Arcade part of Redirection, which as you probably know my now, serves as a preview of the CraftOS 2.0 project:
http://steamcommunit...s/?id=788101089
There have already been several Arcade games posted to the workshop, on top of the 3 built into the game:
http://steamcommunit...5D=Arcade+Games
If you want to get in on the action, Redirection is currently 15% off on Steam
http://store.steampo....com/app/305760
On top of the CraftOS 2.0 preview, you also get a great puzzle game with 100% positive Steam reviews, and help me to pay my rent
#744
Posted 28 October 2016 - 04:20 AM
For things like Silica which will need to manually draw their pixels, rather than using the GPU, what is the fastest way to draw the entire screen?
Is using drawImage faster than repeatedly calling drawPixel, or does drawImage just call drawPixel itself (like paintuils)?
#745
Posted 28 October 2016 - 08:09 AM
#746
Posted 28 October 2016 - 06:12 PM
**snip**
Please don't reverse engineer or decompile my code. Redirection is a commercial game, and the code is copyrighted. I don't mind you documenting the undocumented Lua APIs, but recompiling my code or creating other code that links to it crosses a line. I put a lot of trust in the community by deciding not to obfuscate the code, please don't make me regret this.
oeed, on 28 October 2016 - 04:20 AM, said:
For things like Silica which will need to manually draw their pixels, rather than using the GPU, what is the fastest way to draw the entire screen?
Is using drawImage faster than repeatedly calling drawPixel, or does drawImage just call drawPixel itself (like paintuils)?
dan200, on 27 October 2016 - 11:50 PM, said:
I've just finished documenting the Robot Arcade part of Redirection, which as you probably know my now, serves as a preview of the CraftOS 2.0 project:
http://steamcommunit...s/?id=788101089
There have already been several Arcade games posted to the workshop, on top of the 3 built into the game:
http://steamcommunit...5D=Arcade+Games
If you want to get in on the action, Redirection is currently 15% off on Steam />/>/>
http://store.steampo....com/app/305760
On top of the CraftOS 2.0 preview, you also get a great puzzle game with 100% positive Steam reviews, and help me to pay my rent />/>/>
I can't really see any benefit to the UTF-8 file modes, they just parse as UTF-8 then convert back to an array of bytes which just corrupts non-UTF-8 data.
I also found at least one bug I can remember right now: in `Image.Fill` `x + height` is compared to `Height`, that should be `y + height`.
Edited by dan200, 29 October 2016 - 07:53 AM.
#747
Posted 28 October 2016 - 08:42 PM
Quote
I take it that's memory, not storage. Could be a fun challenge, the Luo compiler is definitely surpassing 2MB at the moment...
Quote
rip jit
Quote
Quote
Interesting... seems to hint that Dan has some cool plans for the future!
Quote
resetTime() - reset the time to UTC
Glad to see we have access to the real world time now, can you explain what is meant by resetTime though? There doesn't seem to be anything to set it. Can you change the timezone?
Interested to see what's possible with the speaker. I haven't done much stuff with sound, but I take it that it's fairly basic?
#748
Posted 28 October 2016 - 08:50 PM
oeed, on 28 October 2016 - 08:42 PM, said:
Quote
resetTime() - reset the time to UTC
oeed, on 28 October 2016 - 08:42 PM, said:
#750
Posted 30 October 2016 - 12:41 AM
If this is basically CraftOS 2.0 unrestricted within Redirection I'm definitely interested in it.
#751
Posted 30 October 2016 - 01:30 AM
It isn't event-driven in the manner ComputerCraft is. I'm quite tempted to create a compatibility layer to replicate that old behaviour.
It offers sound (nothing too complex), and a few nifty drawing functions. You can load a picture file and render it where ever you like for eg. Another undocumented function, gpu.setTransparentColor(), is handy for this.
I was able to port across a stripped-down version of my old Tetris script with minimal effort. Debugging can be a little tricky at times, though, given that it often omits line numbers from its errors - though manually adding breakpoints into a script isn't "hard", per se, simply annoying.
ALREADY someone has posted an "OS" for it. It has four menu options - half of them are redundant and the other half non-functional.
#752
Posted 30 October 2016 - 01:48 AM
Bomb Bloke, on 30 October 2016 - 01:30 AM, said:
It is, `system.sleep` is implemented as:
function system.sleep( nSeconds ) expect( nSeconds, "number", 1 ) local clock = system_getDevice( "clock" ) if not clock then error( "No clock present" ) end local nTimer = clock.startTimer( nSeconds ) while true do local sEvent, p1 = system_pullEvent( "timer" ) if p1 == nTimer then break end end end
#753
Posted 30 October 2016 - 02:16 AM
#754
Posted 25 November 2016 - 02:52 AM
#755
Posted 25 November 2016 - 03:15 AM
#757
Posted 25 November 2016 - 11:04 AM
Bomb Bloke, on 25 November 2016 - 03:15 AM, said:
Hey all! Can you report all instances of calls which crash Redirection, causes a C# stacktrace to be printed, or otherwise error when they shouldn't here please: https://github.com/d...irection/issues
As always, minimal reproduction code is best!
#758
Posted 27 December 2016 - 02:14 AM
(furiously figuring out ways to exploit the speaker api to produce cool sounds)
EDIT: All done! Using FamiTracker with the current limitations of the speaker api in mind, voila: https://dl.dropboxus.../CraftOS%21.wav
I made the kick drum with some fancy pitch sliding on a triangle channel.
Edited by Elttob, 27 December 2016 - 02:42 AM.
#759
Posted 27 December 2016 - 04:21 AM
I redesigned Vertex's interface to work better on the COS2.0 CGA display. Here's a snap:
Same palette as before, but with a much cleaner look. I like the antialiasing effects too; they were largely accidental but worked well in the end
(except maybe the search icon, I'm not fond of that one)
Edited by Elttob, 27 December 2016 - 05:11 AM.
#760
Posted 04 January 2017 - 09:30 PM
Its been almost 3 months since redirection and we hadnt any news about CC2.0 Progresa
Edited by ScoutCD10, 04 January 2017 - 09:33 PM.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users