guys, your attacks on geel9's and overv's app remind me of the times you used to tell me i didn't accomplish anything with portalized because ogre3d did the portals or something stupid like that :v:
Didn't really get much feedback on it, but I'm going ahead and implementing that persistent storage mechanism. It ought to really broaden the scope of what you can do with the language, in terms of real-time/interactive stuff :)
[QUOTE=WalkDinosaur;34391744][url=http://dl.dropbox.com/u/4093439/Facepunch-Overv.apk]Here's Overv's version. Please try this before you say anything else.[/url][/QUOTE]
Tried it, maybe what I said was an overstatement, but still, the base was made already for you, it was a nearly finished painting and you completed it.
[editline]25th January 2012[/editline]
[QUOTE=icantread49;34391957]guys, your attacks on geel9's and overv's app remind me of the times you used to tell me i didn't accomplish anything with portalized because ogre3d did the portals or something stupid like that :v:[/QUOTE]
I'm the only one attacking in all honesty. :v:
[QUOTE=Octave;34390888]I wish my school would have AP computer science[/QUOTE]
My school actually didn't offer it, I took it online through the state's online high school system.
[QUOTE=r0b0tsquid;34391973]Didn't really get much feedback on it, but I'm going ahead and implementing that persistent storage mechanism. It ought to really broaden the scope of what you can do with the language, in terms of real-time/interactive stuff :)[/QUOTE]
Still waiting for the CPU graph...
I'm working on my reddit bot again. It should launch in LMAO pics soon.
A bit off-topic, but has anyone else noticed a bug on these forums where it'll generate a page that doesn't exist? I guess by posting this post, I'll be activating that page.
Edit: I guess someone needs to add a "=" to the part where it checks if a new page is needed.
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=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]
You could add rounded boxes around the avatars and maybe some sort of gradient in the background.
[QUOTE=Darwin226;34392054]Still waiting for the CPU graph...[/QUOTE]
Some sort of persistent storage mechanism is needed for that, since a new interpreter state is created at each interpretation - think of this as a step towards that goal :v:
[editline]25th January 2012[/editline]
It's working now btw. I think I'll record a video.
[editline]25th January 2012[/editline]
There we go. I always thought my appllication was lacking in Pong.
[img]http://i.imgur.com/99Qqt.gif[/img]
Code for that:
[code]let ballx = getpersistent("ballx")
let bally = getpersistent("bally")
let paddley = getpersistent("paddley")
let xvel = getpersistent("xvel")
if xvel = 0 then let xvel = 5 * sqrt(2) end
let yvel = getpersistent("yvel")
if yvel = 0 then let yvel = 5 * sqrt(2) end
def draw()
x < -11 and x > -13 and y < mousey + 2.5 and y > mousey - 2.5
plot (x - ballx)^2 + (y - bally)^2 < 1
x < 13 and x > 11 and y < paddley + 2.5 and y > paddley - 2.5
if died then
plot 0.5
end
end
let ballx = ballx + xvel * dt
let bally = bally + yvel * dt
if ballx > 10 then
let ballx = 10
let xvel = -xvel
let yvel = yvel + rand() * 5
end
if ballx < -10 and abs(bally - mousey) <= 2.5 then
let ballx = -10
let xvel = -xvel
let yvel = yvel + rand() * 5
end
if ballx < -12 then
let ballx = 0
let bally = 0
let xvel = -xvel
setpersistent("score", getpersistent("score") - 1)
let died = 1
end
if bally > 7 then
let bally = 7
let yvel = -yvel
end
if bally < -7 then
let bally = -7
let yvel = -yvel
end
let paddley = paddley * 0.8 + bally * 0.2
let speed = sqrt(xvel^2 + yvel^2)
let xvel = xvel / speed * 10
let yvel = yvel / speed * 10
draw()
setpersistent("ballx", ballx)
setpersistent("bally", bally)
setpersistent("xvel", xvel)
setpersistent("yvel", yvel)
setpersistent("paddley", paddley)
print("Score: ", getpersistent("score"))[/code]
Not exactly elegant, but it all works pretty well. The thing keeps track of the score as well, although you can't see that in the GIF.
Anyway, off to bed now :) training was hard tonight, I feel terrible.
[QUOTE=Chandler;34391502]How are you opening the file? (I hope you're using CreateFile) What parameters are being passed when you open the file?[/QUOTE]
It's not actually a file that I'm reading from; it's a handle that I'm piping the standard output from cmd.exe into.
haha yes! it compiles on linux, i wonder what happens when-
[img]http://i.imgur.com/WCOsO.png[/img]
oh
use backslashes
[QUOTE=NovembrDobby;34393881]haha yes! it compiles on linux, i wonder what happens when-
[img]http://i.imgur.com/WCOsO.png[/img]
oh[/QUOTE]
Why are you trying to create the directory at / anyway
I think he meant ./
[QUOTE=neos300;34394007]use backslashes[/QUOTE]
Come on, you even have an android as your avatar.
I think it's because he's trying to write $XDG_CONFIG_HOME/Rotion where $XDG_CONFIG_HOME is undefined and it defaults to being empty.
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=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]
Sorry for nitpicking, but why does it have to be called iSteam?
Or as suggested in the XDG spec:
[quote]$XDG_CONFIG_HOME defines the base directory relative to which user specific configuration files should be stored. If $XDG_CONFIG_HOME is either not set or empty, a default equal to $HOME/.config should be used. [/quote]
[editline]26th January 2012[/editline]
:ninja:
Adding the SMG2 to Half-Life 2 Beta: Deathmatch
Pictures will come once I add it in.
EDIT: Never mind the SMG2.
I went ahead and added First person ragdolls to the fray. You can turn it in the options on and off.
[QUOTE=Overv;34394202]Sorry for nitpicking, but why does it have to be called iSteam?[/QUOTE]
I couldn't think of a good name off the top of my head, so I went with that so I could just get started rather than pissing around thinking of a name.
[QUOTE=Hexxeh;34394814]I couldn't think of a good name off the top of my head, so I went with that so I could just get started rather than pissing around thinking of a name.[/QUOTE]
Steam Chat Mobile Edition HD: Pro Edition.
[QUOTE=danharibo;34395205]Steam Chat Mobile Edition HD: Pro Edition.[/QUOTE]
Steam Chat Mobile Edition HD: Pro Edition FREE
[editline]25th January 2012[/editline]
(paid version has no ads)
I have been debugging my server receive and packet queue functions and haven't yet been successful with crashing the program.
Next up, reliable UDP packets. :tinfoil:
[QUOTE=esalaka;34394083]Why are you trying to create the directory at / anyway[/QUOTE]
I'm trying $XDG_CONFIG_HOME and $XDG_DATA_HOME,
[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]
Ok, thanks. I hadn't quite got to that part on [url=http://standards.freedesktop.org/basedir-spec/basedir-spec-0.7.html]the spec[/url] yet.
[QUOTE=NovembrDobby;34395640]I'm trying $XDG_CONFIG_HOME and $XDG_DATA_HOME,[/QUOTE]
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=Mordi;34392490]A bit off-topic, but has anyone else noticed a bug on these forums where it'll generate a page that doesn't exist? I guess by posting this post, I'll be activating that page.
Edit: I guess someone needs to add a "=" to the part where it checks if a new page is needed.[/QUOTE]
It has to do with the way vBulliten handles automerge.
[img]http://i.imgur.com/sK7n8.png[/img]
Whelp.
[QUOTE=supersnail11;34395895]It has to do with the way vBulliten handles automerge.[/QUOTE]
I got distracted by FP chat and accimagicadentally rated you informative. :downs:
Sorry, you need to Log In to post a reply to this thread.