• What Are You Working On? July 2015
    1,392 replies, posted
Alright got my first casual job (yep in uni and this is my first job) as a "demonstrator" for introduction to programming course at my uni. I can only imagine the types of horrific things all those engineering students (it's a required subject for them) with no interest in programming will do with python. But seriously i'm super hyped about this, I'll finally have a bit of expendable cash and a way to save money while doing something i'm actually interested in and not just McDonalds. :dance:
[QUOTE=hobothehero;48202981]Alright got my first casual job (yep in uni and this is my first job) as a "demonstrator" for introduction to programming course at my uni. I can only imagine the types of horrific things all those engineering students (it's a required subject for them) with no interest in programming will do with python. But seriously i'm super hyped about this, I'll finally have a bit of expendable cash and a way to save money while doing something i'm actually interested in and not just McDonalds. :dance:[/QUOTE] And then after uni, back to the ol' Mc... :(
[QUOTE=Isaac96;48200108][img]http://i.gyazo.com/f94024cc54f7e79e2d8b54125266887c.png[/img] Words cant describe my joy.[/QUOTE] [URL="http://i.imgur.com/l6OJgrY.png"]recently got mine too :D[/URL] [editline]14th July 2015[/editline] [QUOTE=Hentie;48202864]I'll probably try to add that in later. I added tweening but am still deciding between bouncing and exponential: [video]https://youtu.be/3vZmPTmmmo0[/video] The second half of the video shows the blocks falling in using exponential tweening. [img]http://www.facepunch.com/fp/ratings/tick.png[/img] bouncing [img]http://www.facepunch.com/fp/ratings/cross.png[/img] exponential I don't know if I'll slow down the level transition, but I'll test out different speeds to see how annoying it can get.[/QUOTE] the bouncing fits the pacing of the game, especially if you're speedrunning it like you are
After work last night, I bought a Mikes Harder Mango Punch at the recommendation of someone. I drank it, it tasted like baboon ass. I got a really good buzz and all I could think about was programming. It was the saddest and nerdiest night I've had in a long, long time. I ended up starting a program that uses the RF receiver on my phone. Now I need to figure out how to talk to my TV with it.
[QUOTE=Cesar Augusto;48198309]Trying to make my background repeat, but without success. I have tried wrap the texture, but the result isn't good for me. Any suggestion? I'm using libgdx [i]Just showing my work, feel free to answere too[/i][/QUOTE] Not sure what you're writing this in, but here is a sample C# code for making my background loop [CODE] for (int i = 0; i < WidthOfTheScreen / TextureWidth; i++) Draw( BackGround, new Vector2(xPos + ( TextureWidth * i ), yPos ); [/CODE] Edit: My bad, LibGDX... so something more like [CODE] for (int i = 0; i < Main.scrn.X / bg.Width; i++) SpriteBatch.Draw(bg, new Vector2(pos.X + (bg.Width * i), pos.Y), Color.White);[/CODE]
[QUOTE=Darwin226;48203496]And then after uni, back to the ol' Mc... :([/QUOTE] At our physics/math college it's either water plumber or researcher
[QUOTE=Fourier;48206187]At our physics/math college it's either water plumber or researcher[/QUOTE] Water plumber? You mean "fluid dynamics engineer"!
[thumb]http://files.1337upload.net/251110_2015-07-15_00001-1b7cac.png[/thumb] working on npc randomization please ignore the fact that their faces look like cloned zombies
[QUOTE=DarKSunrise;48206370][thumb]http://files.1337upload.net/251110_2015-07-15_00001-1b7cac.png[/thumb] working on npc randomization please ignore the fact that their faces look like cloned zombies[/QUOTE] I thought that was a dance formation at first glance.
It is, just that when they are done they turn to zombies and start to hunt you.
[QUOTE=DarKSunrise;48206370][thumb]http://files.1337upload.net/251110_2015-07-15_00001-1b7cac.png[/thumb] working on npc randomization please ignore the fact that their faces look like cloned zombies[/QUOTE] Give their scale a "tiny" random offset, changing heights and widths.
Very happy with my UI behaviors. Transitioning in or out when activated or deactivated: [cpp] void MainMenu::OnActive(bool active) { UiImpl->MainControl->AddBehavior<Ui::Behavior::Transition>() .In(active); } [/cpp] Transitioning out [i]while[/i] the underlying game state is transitioning in: [cpp] if (BackButton->WasPressed()) { // perform an early activation while we transition out Runnable.State(1, this)->OnActive(true); UiImpl->MainControl->AddBehavior<Ui::Behavior::Transition>() .Out() .SetListener(this); } void WorldPicker::EndTransition() { // pop us off the stack once we've transitioned out Runnable.PopGameState(false); } [/cpp]
[QUOTE=Tamschi;48198895] As an aside: [URL="https://archive.is/ebOIM#selection-257.1-257.32"]They use MD5 to sign their rounds [/URL], [URL="https://archive.is/DbpsK"]and you can watch people deposit live[/URL] with most likely continuous ticket numbers in order. I'm not entirely up to speed on how broken MD5 currently is, but that seems [I]kind of[/I] insecure. [editline]edit[/editline] The rounds probably complete fast enough to not allow any attacks right now.[/QUOTE] [url=https://jonasnick.github.io/blog/2015/07/08/exploiting-csgojackpots-weak-rng/]CSGOJackpot has lately been found to use a weak RNG for generating round secrets, which made it possible to predict the next winning percentage.[/url]
Keep randomly getting generic GDI+ errors when saving images and it's infuriating because I can't do anything to fix it and it doesn't even happen consistently. Sometimes it will happen three times in a row and sometimes it saves it every 10 seconds for a whole day fine (wallpaper changer). I guess GDI+ just doesn't like being in async methods or something. Hooray for having to go and find an image saving library.
[QUOTE=Alternative Account;48208128][url=https://jonasnick.github.io/blog/2015/07/08/exploiting-csgojackpots-weak-rng/]CSGOJackpot has lately been found to use a weak RNG for generating round secrets, which made it possible to predict the next winning percentage.[/url][/QUOTE] That blog seems really interesting. It appears to contain traces of linguistics and psychology too :dance: [editline]15th July 2015[/editline] [QUOTE=Rocket;48208341]Probably a race condition. Are you trying to operate on the same variable from two different async methods at the same time?[/QUOTE] Some of these system-near APIs also only work if they're called from a single (the main?) thread with [URL="http://stackoverflow.com/questions/1361033/what-does-stathread-do"][STAThread][/URL], but I'm not sure if that's a requirement here. If GDI+ uses COM you most likely need it though.
[QUOTE=Rocket;48208341]Probably a race condition. Are you trying to operate on the same variable from two different async methods at the same time?[/QUOTE] It's just a single method that sleeps most of the time to set the wallpaper, the method that the error is in literally just resaves an image as a bitmap and tells windows to put it on the desktop. It worked perfectly fine using a background worker before but I had to switch to async to get ActiveDesktop to work so that it has that fancy fading effect (which handles most image formats fine but it jpegs it and I made this to avoid that anyway).
Got back into gamedev with an HTML5 game in the works: [IMG]http://38.media.tumblr.com/6950d8d7bb6b71421301705af5e8ae17/tumblr_nrg3hoPDBA1tbzi5io1_1280.gif[/IMG] It's like a mix of Pac-Man and Asteroids.
pac-roids
[QUOTE=Karmah;48209495]pac-roids[/QUOTE] You a brogrammer :v:
[QUOTE=Alternative Account;48208128][url=https://jonasnick.github.io/blog/2015/07/08/exploiting-csgojackpots-weak-rng/]CSGOJackpot has lately been found to use a weak RNG for generating round secrets, which made it possible to predict the next winning percentage.[/url][/QUOTE] Yeah except thry fixed it now apparently, according to the last part in the article.
[QUOTE=Offisir;48209103]Got back into gamedev with an HTML5 game in the works: [IMG]http://38.media.tumblr.com/6950d8d7bb6b71421301705af5e8ae17/tumblr_nrg3hoPDBA1tbzi5io1_1280.gif[/IMG] It's like a mix of Pac-Man and Asteroids.[/QUOTE] Greedy Rocket?
[QUOTE=Isaac96;48200108][img]http://i.gyazo.com/f94024cc54f7e79e2d8b54125266887c.png[/img] Words cant describe my joy.[/QUOTE] Welcome to the club. Perks include getting emails about when the sales are and looking at small devs whine on the support forum. [editline]15th July 2015[/editline] [QUOTE=Offisir;48209103]Got back into gamedev with an HTML5 game in the works: [IMG]http://38.media.tumblr.com/6950d8d7bb6b71421301705af5e8ae17/tumblr_nrg3hoPDBA1tbzi5io1_1280.gif[/IMG] It's like a mix of Pac-Man and Asteroids.[/QUOTE] What framework are you using?
Blender's hotkeys are magical. I'm having so much fun right now.
[QUOTE=Mega1mpact;48210779]Welcome to the club. Perks include getting emails about when the sales are and looking at small devs whine on the support forum. [editline]15th July 2015[/editline] What framework are you using?[/QUOTE] It could be [URL="https://phaser.io/"]Phaser.js[/URL]
Found this site hack.chat yesterday, made a bot than can do rant (and other things like weather forecast): [url]https://hack.chat/?programming[/url] /help for commands. I made it using NodeJS and sockets, aswell as gathering apis. :) to run a rant expression, just do /rant. example: [code] /rant The <adj> <adj> <noun-animal> <verb.s-walk> over the <adj> <noun-animal>. [/code] you can also alias [code] /alias a /rant The <adj> <adj> <noun-animal> <verb.s-walk> over the <adj> <noun-animal>. /a -- now does /rant The <adj> <adj> <noun-animal> <verb.s-walk> over the <adj> <noun-animal>. [/code]
Been working on a work library for Go for the past month or so, published it this morning and looking for some feedback. [URL]https://github.com/ryanskidmore/GoWork[/URL] (also #2 on HN right now! [URL]https://news.ycombinator.com/item?id=9890566[/URL])
updated some of the graphics [video]https://youtu.be/rhdeSxA6P-Y[/video] i darkened the environment so that it would contrast the rainbow blocks and buttons more, as well as the character. lol i kinda felt like an idiot after i realized i was subliminally influenced into adding the gradient and stars by Offisir's game. [b]edit:[/b] youtube videos never do justice.. heres a high quality screenshot [img]http://i.imgur.com/PgNSWOe.png[/img]
Ugh, have to implement an event messaging system. In C++. 2003. No types_index, no perfect forwarding, no unique_ptrs. This is what hell is.
[QUOTE=Hentie;48212012]updated some of the graphics[/QUOTE] You should add some delay or short animation when the character touches the star/goal thing, right now the instant transition as soon as you touch it is kinda jarring. The new colour scheme fits much nicer too, you got a cute art style goin on there
[QUOTE=Hentie;48212012]good stuff[/QUOTE] good Job on the graphics. You know what probably would make it better if you left the cubes that you move around bright en maybe even glowing a bit. Just my 2 cents
Sorry, you need to Log In to post a reply to this thread.