- Sky
- Blueberry
- Slate
- Blackcurrant
- Watermelon
- Strawberry
- Orange
- Banana
- Apple
- Emerald
- Chocolate
- Charcoal
pedrosgali
Members-
Content Count
42 -
Joined
-
Last visited
-
Days Won
6
pedrosgali last won the day on September 23 2016
pedrosgali had the most liked content!
About pedrosgali
-
Rank
Junior Member
- Birthday January 7
Profile Information
-
Gender
Male
Contact Methods
-
Minecraft
pedrosgali
-
GitHub
pedrosgali
Recent Profile Visitors
1431 profile views
-
Paint Plus. ++Now with a library to load the pictures!++
pedrosgali replied to pedrosgali's topic in Programs
Thanks man, I used the library from this to make Minejaro. It's a front end GUI for openOS, if you like the style of this you should check it out. It needs looking at again really but I rarely have time these days. -
Paint Plus. ++Now with a library to load the pictures!++
pedrosgali replied to pedrosgali's topic in Programs
Hey guys, finally added the library for calling images yourself. Sorry it took so long but I wrote a new compression method that will save you a lot of RAM, this is done automatically on loading an image. It also required a new render method which is only marginally faster but still a little faster. Happy painting -
Paint Plus. ++Now with a library to load the pictures!++
pedrosgali replied to pedrosgali's topic in Programs
Thanks man. I've been asked to start an after school club to teach kids the basics of programming using minecraft, just been looking through my old code to see what I can salvage. -
Paint Plus. ++Now with a library to load the pictures!++
pedrosgali replied to pedrosgali's topic in Programs
Hey guys, been away for a while. I'll post an API for displaying the images as stand alone data later tonight, didn't really think about it at the time lol. -
robot.turnLeft() is the command, all commands are in camelCase so the first word is not upper case but the first letter of each subsequent word is.
-
Shouldn't it read robot.turnLeft() capitol L
-
http://www.lua.org/manual/5.2/manual.html#lua_tonumberx
-
I tend to use a slightly different method but the above example is perfectly fine, I'll post mine in case you find it easier and partly to show my favourite thing about coding... Mainly that there is never just one right answer. I do most of my processing in the loop so... local event = require("event") local keyboard = require("keyboard") local running = true while running do ev, p1, p2, p3, p4, p5 = event.pull(1, _, ev, p1, p2, p3, p4, p5) if ev == "key_down" then local char = keyboard.keys[p3] if char == "w" then --your move forward code block here
-
Nickname: Pete Age: Too old to be playing Minecraft. Minecraft Name: PedrosGali IRC nick: pedrosgali
-
Yeah, I wrote this before openOS was installable. It was OC 1.2 or something, the /lib folder was read only. *Edit: Can a moderator delete this thread as it is out of date and may cause confusion to some.
-
Added a pretty picture so you have some idea as to what this is. Please excuse the bad resolution, I broke my good monitor so I'm stuck on low res.
- 8 replies
-
- front end
- window manager
-
(and 1 more)
Tagged with:
-
Actually it's a window manager, no desktop as such. It is literally a front end GUI for openOS. It does allow multiple 'window' programs to all be running at once and I do plan to add a desktop environment at a later date. I just can't figure out how to get icons and shortcut without the framerate going down the toilet. Yet. You're right about the pictures though, I need some screen shots. I'll put some up after work.
- 8 replies
-
- front end
- window manager
-
(and 1 more)
Tagged with:
-
Added basic text editor so you can now check a file without leaving the editor, just bring up a new window.
- 8 replies
-
- front end
- window manager
-
(and 1 more)
Tagged with:
-
In fairness yeah, it should be a local.
-
I tend to opt for a boolian switch for exiting, running = true while running do run() end then you have a variable 'running' which can be toggled. Anywhere.