4,236 Results
I made some progress on my simple Unity minigolf game. I used art from [url=http://kenney.nl/assets/nature-pack]this[/url] and [url=http://kenney.nl/assets/minigolf-pack]this[/url] asset pack. They're great for letting you build prototypes where you can just focus on programmi...
Overv Programming Reply
Khronos mentioned my tutorial in one of their recent slides! [thumb]http://i.imgur.com/jdBvmmT.png[/thumb] I'm currently practising game dev by making a simple first-person minigolf game in Unity using [url=http://kenney.nl/assets]Kenny's assets[/url]. The goal of this p...
Overv Programming Reply
My Vulkan tutorial is finally finished! I hope it was worth the wait. It currently covers everything you need to know to draw textured 3D models with Vulkan. At that point the tutorial should have taught you enough to continue implementing lighting and such by yourself. I'v...
Overv Programming Reply
I've now figured out how to do most stuff in Vulkan, except for textures, but those shouldn't be that hard. [img]http://i.imgur.com/4PdEGVA.png[/img] It's a lot of [url=https://gist.github.com/Overv/7ac07356037592a121225172d7d78f2d]code[/url] due to the really verbose AP...
Overv Programming Reply
[QUOTE=Larikang;50177413]I've had a random background script running on my laptop for a while, but I always had to make sure the backgrounds it chose from fit my window manager's color scheme so that the other nerds don't make fun of me. Now it generates themes for my windo...
Overv Programming Reply
This week I finally had time to start playing around with Vulkan. This took me about 2 days to implement: [IMG]http://i.imgur.com/x0LcWd1.png[/IMG] [URL=https://software.intel.com/en-us/api-without-secrets-introduction-to-vulkan-part-1]This[/URL] is the best tutorial I'v...
Overv Programming Reply
[QUOTE=cartman300;49752324]No, but there already are some examples, like [url]http://vulkan-tutorial.com/[/url][/QUOTE] Fuck this is going to be [url]open.gl[/url] all over again. I hope to start writing a tutorial there in about a week when I've finished my uni projects.
Overv Programming Reply
Here is an example of assigning a heightmap to a terrain to actually see the changes: [code]using UnityEngine; public class SurfaceCreator : MonoBehaviour { void Start () { // Generate height for each point // The heightmap has values from 0 to 1, wh...
Overv Programming Reply
Given all of the e-mails I've received, it appears that there is a lot of renewed interest in this project since Fallout 4 was announced. I've added new links to ensure that the file won't drop from the internet again: [URL]https://dl.dropboxusercontent.com/u/2399384/fallou...
Overv Level Design Reply
[QUOTE=Egonny;43923300][t]http://i.imgur.com/j2OxwRa.png[/t] Finally had some time to work on my FP app again, logging in is now supported, hopefully replying and PMs are next up.[/QUOTE] I should build an app that displays how many Facepunch apps have been made so far.
Overv Programming Reply
Unfortunately Garry has forced my hand and I need to do a lot of Facepunch App development in the coming week, so I'll probably only have time to do the ~artistic~ things for my game. Can I still post them here?
Overv Programming Reply
[QUOTE=ollie;38038700]What graphics library to use with C++? I'm really beginner and i'm planning to code some basic 2d games with imported images and such. OpenGL maybe?[/QUOTE] I'd start with [url=http://www.sfml-dev.org/]SFML[/url].
Overv Programming Reply
It's amazing how much easier it is to work with OpenGL on Android than on any other platform. No glxGetProcAddress, no deprecated OpenGL functions in the headers... Unfortunately there are a few things in the way of an OOGL port: - Different way to load files - Some Ope...
Overv Programming Reply
[QUOTE=Richy19;38030897]What is the name of the plugin?[/QUOTE] vs-android
Overv Programming Reply
[QUOTE=Darwin226;38030673]Well, it you're into winning, it won't be exposed to as much people. Other than, that, I really don't see why it wouldn't be allowed.[/QUOTE] I think I have what it takes to win.
Overv Programming Reply
For the Halloween game challenge I'm going to do my first Android project completely with the NDK and it appears that there is a cool Visual Studio plugin to do that which builds an APK when you press Run and includes all the Android headers for intellisense! [t]http://www....
Overv Programming Reply
Would it be a problem if my game is made for Android? It will use OpenGL ES 2.0, so it will likely not work in the emulator.
Overv Programming Reply
[QUOTE=Richy19;38018749]Just installed windows 8 as I get it free with Dreamspark, and my god this is confusing. Its the most beautiful OS I have used thus far but I have no idea how things work. If I manage to get things working I hopefully will be making more desktop apps I...
Overv Programming Reply
Post result of "ls" (directory listing) and the command you use to compile and run your program.
Overv Programming Reply
How did you run the program? When running the program from, say a.class, you should use: [code]java a[/code] and not [code]java a.class[/code]
Overv Programming Reply
I've got the concept for my Halloween challenge game down and hope to finish it this weekend + a few days.
Overv Programming Reply
[QUOTE=WeltEnSTurm;37994837]Oh, that. Currently it holds the function name so I can refer to it later (which works even when I have two entities, oddly), I guess I should look into it more then[/QUOTE] A function name instead of an object instance? wot
Overv Programming Reply
[QUOTE]Yes, but I just started implementing Lua and this was the fastest way to do it since the position is saved C++ side and not as userdata.[/QUOTE] Uh, the idea behind user data is that it stores a pointer or a C++ class object to work with.
Overv Programming Reply
[QUOTE=DrLuckyLuke;37989669]If you ever wanted to play around with SDR without having to buy one, try this webSDR my university set up: [url]http://websdr.ewi.utwente.nl:8901/[/url] Try listening to AM stations on the far left (center on the strong lines), or try to find so...
Overv Programming Reply
[QUOTE=ECrownofFire;37986429]Anybody know of a simple and fast RLE container or something for C++? I'd make one myself but there's no point reinventing the wheel and all that. Right now I've just patched in the "flat segment tree" from [url=http://code.google.com/p/multidimalg...
Overv Programming Reply
Didn't know one could do that.
Overv Programming Reply
[QUOTE=amcfaggot;37978584]congratulations on stumbling on the babylonian method incorrectly? [editline]9th October 2012[/editline] could you explain to me why you added (or subtracted, I can't remember) 1 to the estimation values?[/QUOTE] I figured that the square ro...
Overv Programming Reply
[QUOTE=amcfaggot;37973940]@Overv I think this is how you're suppose to do it, but I didn't really test it with much more than squares that I could do in my head: -code- See [url]http://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method[/url] for...
Overv Programming Reply
Decided to reimplement sqrt(x) for fun. It started out as a binary search but then I added some extra stuff to it assuming x lies in [0, 1]. [cpp]const float EPSILON = 1e-6f; float abs(float x) { return x < 0.0f ? -x : x; } float sqrt(float x) { float y = (x + 1....
Overv Programming Reply
Entering.
Overv Programming Reply
[img]http://i.imgur.com/G3r9j.png[/img] The Android SDK comes with a Google guidelines nazi for free.
Overv Programming Reply
[QUOTE=pepin180;37945031]maths can help here: 1+2+3+4+....+n = n*(n+1)/2 so you wont need a loop, and operations are faster[/QUOTE] Let me add that this is derived from: [img]http://i.imgur.com/A897B.png[/img]
Overv Programming Reply
[QUOTE=Map in a box;37943259]Sublime is not really worth the money. Really pricey and your purchase doesn't even get considered in the next version. It's just a flashy text editor.[/QUOTE] I bought Sublime because it's an amazing text editor that I couldn't live without at th...
Overv Programming Reply
I was at the open harbour day in my town today and also got a chance to look in the harbour control tower. [t]http://i.imgur.com/1HZiR.jpg[/t] [img]http://i.imgur.com/CxflJ.png[/img] Top notch security right there.
Overv Programming Reply
The Windows Azure control panel is hot as shit. [t]http://i.imgur.com/Seo5s.png[/t] (I'm using just the trial, because it's expensive though)
Overv Programming Reply
And local lookups are much faster than global ones.
Overv Programming Reply
[QUOTE=azgag;37900466]He gave us permission to use his textures on Sourceforts 2 commercially, so I'm pretty sure he will allow you too. just send him an email[/QUOTE] He allowed me to as well, thanks :)
Overv Level Design Reply
[QUOTE=Pyth;37899592][url]http://philipk.net/[/url] at the bottom[/QUOTE] Thanks man! Hope he will allow me to use it in a commercial application.
Overv Level Design Reply
Sorry for pestering you guys with this, but can anyone post that sexy space station texture pack? [t]http://i.imgur.com/dBO3d.jpg[/t] That one ^
Overv Level Design Reply
[QUOTE=Jawalt;37898011]Any chance of C bindings like SFML has? [editline]3rd October 2012[/editline] At first glance that might seem like a stupid request, but please remember how much of a bitch C++ is to use from other languages.[/QUOTE] I'm definitely considering it.
Overv Programming Reply
[QUOTE=AyeGill;37895868]Getting this: [CODE]ayegill@AyeGill:~/OOGLtest$ make g++ OOGLtest.cpp -o OOGLtest -I ~/OOGL/include ~/OOGL/lib/OOGL.a -lX11 -lXrandr -lGL -std=c++0x OOGLtest.cpp: In function ‘int main()’: OOGLtest.cpp:29:29: error: ‘Triangle’ is not a member of ‘G...
Overv Programming Reply
[QUOTE=WTF Nuke;37889244]For an Android game, is it okay to have two threads? One for the interface and main activity, and the other for the GLSurfaceView renderer? Also, should the OnTouchListener implementation be in a custom class that extends GLSurfaceView, or should I jus...
Overv Programming Reply
[QUOTE=Mr.T;37882641]This is constructive criticism, and thanks for that aswell![/QUOTE] When using Python, I think the least we can expect of you is that you've gone through the [url=http://docs.python.org/tutorial/introduction.html#numbers]basic tutorial[/url].
Overv Programming Reply
[QUOTE=Mr.T;37882419]So I'm making a Ballistic Missile Trajectory Calculator with Python, here's some code that I've done. [url]https://github.com/Qasaur/qrocketcalc[/url] Although it's very little it's atleast something.[/QUOTE] [cpp]W80 = int(180) authcode = int(4...
Overv Programming Reply
Or use the shortcut [cpp]MessageBox.Show("" + Math);[/cpp]
Overv Programming Reply
Yesterday I made babby's first pixel art. [img]http://i.imgur.com/cc8qv.png[/img] I'm going to try to practice regularly from now on.
Overv Programming Reply
To practice with the *daring* task of creating the graphics for my game myself, I'm going to make a small Ludum Dare type game first.
Overv Programming Reply
[QUOTE=danharibo;37855438]Sounds like a cool idea, I've always enjoyed games based on lots of different interacting elements (especially with sandbox modes). The same art style as Portal 2's illustrations is probably the best fitting one for this sort of game, and with some...
Overv Programming Reply
As I said, I wanted to make a game and I want to know if you guys think it's a good concept and perhaps if you have some cool ideas to add to it. It's essentially a combination of The Incredible Machine, [url=http://pleasingfungus.com/Manufactoria/]Manufactoria[/url] and Sp...
Overv Programming Reply
[QUOTE=KmartSqrl;37833197]Yeah that's kind of what I figured too. Any first-hand experience with it you'd care to share?[/QUOTE] No, but I've got a project coming up that requires scripting. I'll be sure to give both V8 and Lua a look again and report back :)
Overv Programming Reply
[QUOTE=KmartSqrl;37833091]Try javascript via google v8. I'm always surprised I don't see that being done more often. I have yet to try it myself, but I've always thought JS would be a good fit for game scripting.[/QUOTE] I think it's because V8 is a pain to embed as oppose...
Overv Programming Reply
I just finished enough of the parser/compiler of my expression library to support all mathematical expressions with the +, -, * and / operators without brackets. An example: [cpp]#include <stdio.h> #include <lambda.h> int main() { int x; lambda_func f = lambda...
Overv Programming Reply
What is the target platform? Perhaps Phonegap would be an easy way to get started, although I have no experience with this.
Overv Programming Reply
Also, it seems that the problem was simpler after all. 32-bit platforms use different calling conventions like cdecl, fastcall or stdcall whereas 64-bit platforms use a single different calling convention. Tomorrow I can finally get started on the parser and compiler.
Overv Programming Reply
[QUOTE=Eudoxia;37799833]You could output LLVM IR (Or generate IR with LLVM's API), then compile and run it.[/QUOTE] The goal of the project is to write my own compiler, also generating code with another API is irrelevant to this problem because I would still have to tell L...
Overv Programming Reply
It turned out that getting my code to work on Linux/OSX was more difficult than I thought. GCC has a different interpretation of the cdecl calling convention on 64 bit than it has on 32 bit. On 64 bit it optimizes calls by passing the first arguments to registers instead of th...
Overv Programming Reply
Today I found out about the horrible truth behind gcc when I noticed this in the assembler output: [code]_f: ## @f Leh_func_begin1: ## BB#0: ## %entry[/code] Can't use le gcc anymore.
Overv Programming Reply
Just finished the assembler part of my library, at least it has all I need right now. [cpp]struct lambda_asm_state* state = lambda_asm_begin(); lambda_func f; lambda_asm_pop(state, EBX); lambda_asm_pop(state, EAX); lambda_asm_mov_val(state, EDX, 0); lambda_asm_mov_va...
Overv Programming Reply
I've returned to playing with machine code once again and I'm currently writing a library that can compile simple lambda expressions as seen in C# to runnable functions at runtime. An example: [cpp]#include <stdio.h> #include <lambda.h> int main() { int i; lam...
Overv Programming Reply
Currently playing with inline assembly to understand assembly better. [cpp]#include <cstdio> int gdc(int a, int b) { /* while b ≠ 0 if a > b a := a − b else b := b − a return a */ __asm { mov eax, a mov ebx, b l: cmp eb...
Overv Programming Reply
I think I have cracked the programmer art problem: isometric vector art. [t]http://i.imgur.com/GINrD.jpg[/t] [t]http://i.imgur.com/bmoKO.jpg[/t] This looks pretty neat and it's based on simple shapes at the core.
Overv Programming Reply
I'm picking up my idea for the math app again before pursuing a game project.
Overv Programming Reply
[QUOTE=danharibo;37711610]It could certainly work, since you could easily generate 'new' artwork from blocks of pixel art. The only downside of isometric art is that you have to draw quite a lot of things 4 times at least.[/QUOTE] I could limit myself to one side and use ...
Overv Programming Reply
While I hate the assembly line indie games all using retro style, do you think this would be a decent art style for a sandbox game set in a city? [t]http://hello.eboy.com/eboy/wp-content/uploads/2008/11/ecb-assembler-17t-1.png[/t] Assuming I can eventually find an artist...
Overv Programming Reply
[QUOTE=laylay;37711310]That's why I wanted to focus on custom made content to make up for lack of art. It shouldn't be hard to find artists with free time these days but I can't for the life of me find one. Last resort is to make everything myself.[/QUOTE] Yeah, I guess I ...
Overv Programming Reply
[QUOTE=laylay;37711227]You should. What I'm trying to do is just make a solid multiplayer FPS that I'd find a bit of fun that I'd keep going back to. If there's atleast some servers up and some people playing, I can then work on scripted gamemodes so It's not just CTF. T...
Overv Programming Reply
[QUOTE=laylay;37705659]I started on a tripmine weapon, the video was meant to be longer but I ran out of space.[/QUOTE] Amazing work man, you inspire me to start working on my own 3D game as soon as possible.
Overv Programming Reply
Yeah, I do this too. I like this better than assigning values to variables before a call, and if you indent/space it nicely there's no difference.
Overv Programming Reply
[QUOTE=MrBob1337;37656918]I'm using OOGL and I can't load a .obj model. I use the line: [CODE]GL::Mesh object("cube.obj");[/CODE] but I get the VS2010 debugger shouting about a vector being out of range. cube.obj was exported with the default Blender Wavefront (.obj) setting...
Overv Programming Reply
To be honest, I don't really see what the point of this is with /r/programming and HN around.
Overv Programming Reply
[QUOTE=Natrox;37654142]I present to you, a very crude networked paint program; [url]https://dl.dropbox.com/u/17984511/whatevs.rar[/url] Left mouse button to draw in black. Right mouse button to draw in white. Connect to 83.82.185.91.[/QUOTE] Right before disast...
Overv Programming Reply
[QUOTE=Em See;37640945]Have a gander at BigDecimal, from memory.[/QUOTE] Nah, the assignment is to rewrite that class basically. It's not very difficult, but Java is still annoying.
Overv Programming Reply
[QUOTE=Protocol7;37638835]I'm back to homework again, and this time in a new class... data structures! Essentially, I need to make a class that stores a number longer than plain old int can handle. With an array this time too. So I have an array of length 12, and each cell ...
Overv Programming Reply
[QUOTE=Tobba;37604267]According to some other stuff, geometry instancing is for when you pretty much need 2000 instances of something This is probably one of the only good ways I can see of using it I guess the logic is in that it has to run 1M draw calls, but its still mo...
Overv Programming Reply
[QUOTE=esalaka;37592581]JSON is JavaScript. Lua tables would be exactly the same.[/QUOTE] You don't need a JavaScript parser to parse JSON, in fact parsing JSON with a JavaScript parser allows you to parse invalid JSON.
Overv Programming Reply
[QUOTE=Tobba;37587703]I probably shouldent use VAOs, I'm guessing it somehow fucks the transform feedback up, since looking at that code it specificly binds a vertex buffer as a VAO buffer, I'm guessing binding a second VAO to render is fucking it up [editline]8th September...
Overv Programming Reply
[QUOTE=Tobba;37583154]fucking transform feedbacks glBeginTransformFeedback is tossing me an invalid operation[/QUOTE] I've made a minimal transform feedback sample a few days ago. It uses OOGL calls, but I think it can help you out well. [url]http://pastie.org/468312...
Overv Programming Reply
[QUOTE=ruarai;37561563]People need to release source code more often here.[/QUOTE] I think most people around here have GitHub repos, perhaps it would be nice if those could be linked to FP accounts.
Overv Programming Reply
[QUOTE=ECrownofFire;37544572]Fuck, I wish I could use UBOs. But my card doesn't support them and blah blah... Texture atlas generation it is. Still a pain in the ass, but at least it works for pretty much everybody.[/QUOTE] Wouldn't it be feasible to implement them your...
Overv Programming Reply
[QUOTE=T3hGamerDK;37540778]I've always wondered: Since most art is comprised of binary data, wouldn't it be possible for git to compress using the zx method(s)?[/QUOTE] SVN has superior binary diff at this time, but yeah.
Overv Programming Reply
I'm getting 3. Total sum with weighted integers is 168 and 11 modulus that is 3. Also, if your modulus 11 returns 12, then you have bigger problems than this.
Overv Programming Reply
[QUOTE=chimitos;37539420]I remember you posting the mockup for that quite a while ago. Good job actually getting it finished![/QUOTE] Well, I never used my mockup, the layout was designed by another company.
Overv Programming Reply
[QUOTE=Richy19;37537483]Always pass non primitives by reference[/QUOTE] No, pass them by reference when it makes sense. Don't pass classes like 3D vectors by reference.
Overv Programming Reply
The Android app I've been working on at a company in the summer break has finally been [url=https://play.google.com/store/apps/details?id=nl.negentwee]released[/url]! It was quite exciting, because the day before the release a small bug was noticed caused by a typo by me. For ...
Overv Programming Reply
[QUOTE=Richy19;37524530]this happens to me on my desktop, it happens no mater what library I use for windowing (GLFW, SFML...) I once gave a program for beanxp to test and it opened fine on his pc. so as overv says it must be something like drivers or something pc specific[/QU...
Overv Programming Reply
I'm pretty sure that's just the OpenGL driver being loaded.
Overv Programming Reply
[QUOTE=somescripter;37507697]Are you gonna wrap up the lighting functions and whatnot Overv?[/QUOTE] The lighting functions?
Overv Programming Reply
[QUOTE=Richy19;37504012][IMG]http://i.ytimg.com/vi/82AMwQGjc8Y/0.jpg[/IMG][/QUOTE] Not created by Valve though.
Overv Programming Reply
Sorry for bothering you guys with another non-code-programming-related-thing, but I just got this cool idea for a project and had to make a mockup. [img]http://i.imgur.com/2Ydaa.png[/img] Basically I'm tired of having to write countless OpenGL calls and deal with state m...
Overv Programming Reply
I was playing with transform feedback in OpenGL today, which means that you can save the output from the vertex shader to a buffer instead of drawing it and I came across this in the specification. [i]"The GL_TRANSFORM_FEEDBACK_BUFFER buffer binding point may be passed to g...
Overv Programming Reply
-snip-
Overv Programming Reply
one day I will be a better coder than geel [editline]1st September 2012[/editline] one day
Overv Programming Reply
[QUOTE=Richy19;37448300]I was mashing my head trying to understand how the shaders work in shadow mapping(ith overbs sample [url]https://github.com/Overv/OOGL/blob/master/samples/ShadowMapping/main.cpp[/url]) and was having no luck... Sudenly tried visualizing it and bamn, I ...
Overv Programming Reply
[QUOTE=WTF Nuke;37447128]I got an OGL problem and I'm not quite sure how to solve it. In the past, I didn't have to have a Z layer for my game because I drew things in sequence, so the things drawn last are in the background, etc. Now, however, I need to draw the player before...
Overv Programming Reply
I finished the first version of my [url=http://facepunch.com/showthread.php?t=1208377]Facepunch app[/url] today. It's a good thing I got this done so far, since I probably have to work the rest of this week.
Overv Programming Reply
AIDE looks really cool indeed, I'm going to give it a try.
Overv Programming Reply
[QUOTE=Nipa;37426940]I'm using OOGL for a project and using it to handle basic system events; however, on Windows, MouseUp is [b]not[/b] triggered for any mouse buttons other than left-click. Could be a fairly significant issue.[/QUOTE] Fixed.
Overv Programming Reply
[QUOTE=Hexxeh;37418849]Should be fixed. Guess what Overv? Your API will break sometimes too, it happens, especially when turning on major new features.[/QUOTE] What keeps you from testing it before you let it go live? I'd rather work with a production version instead of th...
Overv Programming Reply
I can no longer log in, says: [code]{ "error": "No session for that authentication information, login first to begin a session" }[/code] in the API console when authenticating. This sums up my worries about stability pretty much.
Overv Programming Reply
What's the pay?
Overv Programming Reply