Working my way through this Python syntax book, and honestly... I'm not liking it too much right now.
It's not that it's hard, it's just very droll. I know I'd love Python and programming in general if I learned something practical, but 200 pages in and I've learned strings and formatting strings, general numbers and their methods, and an intro to dictionaries, lists, and sets.
Any suggestions on what I could do to maybe make something very rudimentary that'd be interesting? I set up a very small interface using limited dictionary and string formatting that I've learned, which was very satisfying, but other than that I can't think of what to do from here.
[img]http://dl.dropbox.com/u/29407915/luirc.png[/img]
Just started redoing a very old project which I don't even have the source code anymore, I always found a IRC Bot with lua would be awesome, and this one has LuaJIT
[QUOTE=Mr. Bleak;34396621]Working my way through this Python syntax book, and honestly... I'm not liking it too much right now.
It's not that it's hard, it's just very droll. I know I'd love Python and programming in general if I learned something practical, but 200 pages in and I've learned strings and formatting strings, general numbers and their methods, and an intro to dictionaries, lists, and sets.
Any suggestions on what I could do to maybe make something very rudimentary that'd be interesting? I set up a very small interface using limited dictionary and string formatting that I've learned, which was very satisfying, but other than that I can't think of what to do from here.[/QUOTE]
Use Pygame and make a shmup.
In other news, debug mode:
[IMG_thumb]http://i.imgur.com/5Dod9.jpg[/IMG_thumb]
[QUOTE=Nigey Nige;34397110]Use Pygame and make a shmup.
In other news, debug mode:[/QUOTE]
Considering who you are, this looks pretty good. The smoke should be in front of the planets though.
[QUOTE=Robber;34397212]Considering who you are, this looks pretty good.[/QUOTE]
...thanks.
[QUOTE]The smoke should be in front of the planets though.[/QUOTE]
The smoke trails? Why?
[QUOTE=Nigey Nige;34397248]...thanks.[/QUOTE]
You're welcome :smile:
The smoke and rockets should use the same artstyle as the planets though. (clean and vectory instead of pixelated)
[QUOTE=Nigey Nige;34397248]The smoke trails? Why?[/QUOTE]
I don't know, it just looks wrong.
Oh, and use [noparse][img_thumb][/noparse] instead of quotes.
On the [URL="http://erlenddahl.net/tf2stats/"]tf2stats[/URL] development team :3
[QUOTE=Nigey Nige;34397248]The smoke trails? Why?[/QUOTE]
By that he means they should be drawn on top of te planets
[QUOTE=Richy19;34398403]By that he means they should be drawn on top of te planets[/QUOTE]
Did I phrase it wrong? English isn't my first language.
[QUOTE=Robber;34398745]Did I phrase it wrong? English isn't my first language.[/QUOTE]
No, you phrased it perfectly well. I don't know what he's on about.
Anyone want to give my game a go? I'm calling this v0.1, just to make sure it runs on other computers alright.
[url=http://www.mediafire.com/?dyu5q7tjb6yh33o]Download it here.[/url]
I'd like to know three things:
A) how it runs on your computer.
B) how easy it is to figure out what you're supposed to do.
C) what you think of the visuals.
[QUOTE=Nigey Nige;34398818][B]No, you phrased it perfectly well. I don't know what he's on about.[/B]
Anyone want to give my game a go? I'm calling this v0.1, just to make sure it runs on other computers alright.
[url=http://www.mediafire.com/?dyu5q7tjb6yh33o]Download it here.[/url]
I'd like to know three things:
A) how it runs on your computer.
B) how easy it is to figure out what you're supposed to do.
C) what you think of the visuals.[/QUOTE]
uh, what
richy is perfectly correct. He meant on top of the planets. As in, drawing the planets and then the smoke. Probably.
[editline]26th January 2012[/editline]
also that's a lot of smoke considering it's in space
[QUOTE=BlkDucky;34399142]uh, what
richy is perfectly correct. He meant on top of the planets. As in, drawing the planets and then the smoke. Probably.
[editline]26th January 2012[/editline]
also that's a lot of smoke considering it's in space[/QUOTE]
1) yeah, but Robber's comment meant the exact same thing.
2) it's video games, I don't gotta explain shit
[QUOTE=esalaka;34394201]Quite possibly.
A good way to do this would be to check if $XDG_CONFIG_HOME is defined. If it is, use $XDG_CONFIG_HOME/rotion, otherwise use $HOME/.rotion[/QUOTE]
[quote]$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. [B]If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used.[/B][/quote]
[url=standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html]Source[/url]
Edit: Wow I guess that's the second thing I fucked up today.
#ifdef ?
[QUOTE=Naelstrom;34395816]You have to parse that with getenv();
Like this:
[code]char* ConfigDirectory = getenv("XDG_CONFIG_HOME");[/code]
At least that's how I did it.[/QUOTE]
Right, I think it's all sorted now. On my system it has to use both fallbacks (neither xdg_config_home or xdg_config_data is defined).
So it goes:
cfg stuff: try and use $XDG_CONFIG_HOME (/Rotion/): if not defined, use $HOME/.config/Rotion/
data: try and use $XDG_DATA_HOME (/Rotion/): if not defined, use $HOME/.local/Share/Rotion/
Does this sound right?
[editline]today[/editline]
thanks jookia, you're the best
[QUOTE=Nigey Nige;34398818]No, you phrased it perfectly well. I don't know what he's on about.
Anyone want to give my game a go? I'm calling this v0.1, just to make sure it runs on other computers alright.
[url=http://www.mediafire.com/?dyu5q7tjb6yh33o]Download it here.[/url]
I'd like to know three things:
A) how it runs on your computer.
B) how easy it is to figure out what you're supposed to do.
C) what you think of the visuals.[/QUOTE]
Well, thanks for the motivation to update Java finally. Apparently its auto-updater killed itself, leaving me so far behind I couldn't run that.
A) Runs fine, no lag, but I have a pretty nice computer, so it's not a good test of your optimization.
B) I figured it out really quick, but I could see other people needing more help. It wasn't totally obvious what all the buttons did at first. It also needs a menu, even if it just has an option to quit right now. A basic game setup screen (number of players, names, AI players vs hotseat, colors, etc) would be nice too.
Also, the white circles have something to do with mineral wealth, right? For balance, the starting planets should probably be equal, since with it random you get one with a giant amount and two with almost none.
C) The background kind of stands out now. I'd see if you can smooth it or make the rest of the game fit it better.
Going to make a story platform shooter; Player sprites are just for testing.
[URL=http://imageshack.us/photo/my-images/35/26925610.png/][IMG]http://img35.imageshack.us/img35/7403/26925610.png[/IMG][/URL]
[B]Edit:[/B]
Little update
[URL=http://imageshack.us/photo/my-images/3/95323747.png/][IMG]http://img3.imageshack.us/img3/2704/95323747.png[/IMG][/URL]
[QUOTE=Nigey Nige;34399242]1) yeah, but Robber's comment meant the exact same thing.
2) it's video games, I don't gotta explain shit[/QUOTE]
Make the smoke look more Nige
One of our graphics guys tossed in particles and lighting. Lookin' good (aside from the fact we turned AA off and the model isn't seamless).
[t]http://dl.dropbox.com/u/11093974/Junk/dyst.png[/t]
I'm implementing my physics engine now. Threw all 48 files into the project and it compiled with absolutely no changes necessary. Awesome. :smile:
[QUOTE=Neo Kabuto;34399869]Well, thanks for the motivation to update Java finally. Apparently its auto-updater killed itself, leaving me so far behind I couldn't run that.
A) Runs fine, no lag, but I have a pretty nice computer, so it's not a good test of your optimization.
B) I figured it out really quick, but I could see other people needing more help. It wasn't totally obvious what all the buttons did at first. It also needs a menu, even if it just has an option to quit right now. A basic game setup screen (number of players, names, AI players vs hotseat, colors, etc) would be nice too.
Also, the white circles have something to do with mineral wealth, right? For balance, the starting planets should probably be equal, since with it random you get one with a giant amount and two with almost none.
C) The background kind of stands out now. I'd see if you can smooth it or make the rest of the game fit it better.[/QUOTE]
Thanks! Useful feedback.
[QUOTE=sambooo;34399974]Make the smoke look more Nige[/QUOTE]
[img]http://i.imgur.com/as5Q7.jpg[/img]
Awwww yeah
[img_thumb]http://i.imgur.com/R5zPW.png[/img_thumb]
(notice the text near the top)
Not sure what's going on with those eyes, looks like some [i]fun[/i] linux-specific mathematical glitch
Well, I was just continuing with luaserver and then there was 2 hits from someone other than me:
[quote]
HEAD /
Lua error: Can't open file "www/default/404.lua"
GET [url]http://www.intute.us/pr.php[/url]
Lua error: Can't open file "www/www.intute.us/404.lua"
[/quote]
Oh okay; they are probing for proxies.
SUDDENLY
[quote]
Lua error: www/self.arb0c.net/index.lua:EOF: '?>' expected near '<?lua' (line 28)
GET /index.lua
GET /favicon.ico
GET /w00tw00t.at.blackhats.romanian.anti-sec:)
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /phpMyAdmin/scripts/setup.php
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /phpmyadmin/scripts/setup.php
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /pma/scripts/setup.php
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /myadmin/scripts/setup.php
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /MyAdmin/scripts/setup.php
Lua error: Can't open file "www/77.100.169.160/404.lua"
GET /index.lua
Lua error: [string "www/self.arb0c.net/index.lua"]:26: ')' expected (to close '(' at line 21) near 'fine'
[/quote]
Well, that inspired me to ask you guys:
[url]http://self.arb0c.net/compile.lua[/url]
Try and break it (the thing that allows for <?lua ?>, and the server) some how (just don't DoS it, it's my home connection).
[QUOTE=NovembrDobby;34400393]Awwww yeah
[img_thumb]http://i.imgur.com/R5zPW.png[/img_thumb]
(notice the text near the top)[/QUOTE]
Epic.
[QUOTE=Hexxeh;34392765]Got contact list almost done:
[img]http://cl.ly/DeYr/Screen%20shot%202012-01-25%20at%2021.21.28.png[/img]
Still not finished with the UI design here, open to suggestions.
Modified the server to keep sessions with Steam online after you disconnect to allow for push notifications.[/QUOTE]
[url=http://store.steampowered.com/mobile]It's looking really polished nice work Hexxeh[/url]
Think I'll do a little optimization tonight. It's [i]reasonably[/i] fast, but there're a few things I've noticed that are a little inefficient. I'll see if I can get those sorted out before I decide to add anything else :)
[QUOTE=icemaz;34402393][url=http://store.steampowered.com/mobile]It's looking really polished nice work Hexxeh[/url][/QUOTE]
As I said in the other thread, fuuuuuuuuuuuuuu.
[QUOTE=icemaz;34402393][url=http://store.steampowered.com/mobile]It's looking really polished nice work Hexxeh[/url][/QUOTE]When the fuck did that happen
[QUOTE=Hexxeh;34402513]As I said in the other thread, fuuuuuuuuuuuuuu.[/QUOTE]
It was bound to happen eventually. Plus we saw it coming a mile away back when work was being done with Steam's redesign them hinting at multi-platforming.
At this point (well, I suppose always, rather) I believe it's more practical for SteamKit/Open Steamworks projects to be of things that aren't in lieu of future Valve projects.
Shame it's a private beta.
[IMG]http://i.imgur.com/2mHCb.png[/IMG]
Sorry, you need to Log In to post a reply to this thread.