Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. Thank you for this challenge. I see we're wrapping it up a little early, which is great. This was my, "all in software" attempt and it went really well. A couple of days ago, I broke the enemy side in a playful sort of way, which gave me an excuse to pull the AI from one of my other projects and stuff into this. Next day we were writing states and wiring it up. That felt swell. The pixel water made me happy, check that off the list. Anything that runs away with a mind of its own in running source is every bit worth the play. Working with raw arrays like this is pretty powerful. There is a Perlin generator in there for improved background and foreground coloring which might also be an interesting continuation.
  3. Phoenix Games

    [Work In Progress] Don't Give Up

    'Don't Give up' is a game set around a child growing up through school years, each level represents a school year passed. As you play through the game, the levels get darker to reflect the stress and anxiety many students feel towards the later years, obstacles will also begin to appear in the form of school themed dangers like a pencil or books etc..., as well as this the levels will become more twisted and loose their colour for a more dark, bleak and twisted theme.
  4. Today
  5. jbadams

    Best places to "market" my VR game

    That's a tricky one at the moment - obviously, you need to try to find places where your potential users are - but with VR hardware still a niche interest, that's a bit trickier to locate than more traditional markets. My best suggestion at the moment would be to try to find groups on Facebook, and relevant hashtags on Twitter. Perhaps others working on VR titles (@slayemin ?) might have some more specific ideas.
  6. You are a very creative person. I would love to know more about what software you use to develop your games with. Do your games turn out the way you imagine them?
  7. GoliathForge

    Explosive Balls

    The pixel peeps have come to tap into your pipeline. It is your duty to collect as many explosive balls down the hole for study and protect your pipes. Happy hunting. A circle physics game with c++ source. Two state machine examples. One stack based driving the main game and another more traditional finite state machine driving the enemy ball shooter. Other points of note are, a software sound implementation, some neat home grown physics math, picking... the flowing 2D water thing... and just all around decent clean code. GDN_SideScroller_ExplosiveBalls_source.zip
  8. If you want to look up my background: Book - Unity AI Programming Essentials Unite Austin 2017 - S.O.L.I.D. Unity - YouTube Lynda.com Unity 5: Build a Real-Time Strategy Game Lynda.com Unity 5 2D Procedural Terrain Senior Developer - NASA Kennedy Space Center's - Launch Mission Senior Developer - NASA Kennedy Space Center's - Mars Base LinkedIn - a bunch more stuff Unity Connect - and even more.
  9. collocgame


    COLLOC is new type of puzzle game, and it has over 6 entire unique chapters and over 60 different challenging levels, come play and make the great fantasy world colorful again!
  10. GoliathForge

    white dragon finger paint

    they said, "hehehe hohohoho". One more "ho" for a warning point?
  11. Hello, everyone! I finished a piece of game, it is a first person shooter with different puppets, including 3 of my favorite tin puppets, so consider 6 months of intense graphics and listen, listen to this hymn of Iraqi youth, these Alladins of modern progress, while my puppet Modesto seeks for tea bowl and plucks a bit lapels of military tunic of Republican Guard. This part of game happens on Baalbek highlands not far from the ISIS hideouts of Lebanon. Game contains even the PUPPET of Saddam Hussein (time line 8:21-8:59) and thinks over the impact of changes. If you download the game, the third episode, (at the bootom, with password 'BAGHDAD') would be this most recent experience. While considering this eastern cultural event, spectator might also amuse himself while looking through my US refugee documentation at http://www.europique.com/ttbop2docume.... What else? Physically I am located in the US now. And thanks, only in 'Ask Leslie Moonves' project, on Vasily Zotov's game website: http://www.europique.com youtube: https://youtu.be/8r2M_D94cVo my theatrical also: https://youtu.be/J0YKfgUefVU Vasily Zotov
  12. Using atomic variables is very expensive. You don't want to synchronize more than once per tick per thread if you can avoid it. Typically, there will be double-buffering. The main thread will do something like: 1) wait for all client threads ready 2) flip readable thread input buffers 3) flip writable thread output buffers 4) tell threads to read previously written data 5) read thread inputs 6) simulate into new write buffers The client threads will do something like: 1) signal ready 2) wait for "go" 3) read from thread output buffers 4) write to thread input buffers 5) flip readable output buffers 6) flip writable input buffers Note that each thread, and the main function, have their own state of which buffer is "readable" and "writable." Because the section between 1 and 4 in the main thread is a critical section, it's actually possible to avoid that, and just use shared pointers -- main thread reads and writes from the halves that the client threads don't read/write during this particular tick. And, in case you're not familiar; "flipping" just means swapping between buffers A and B; typically updating a couple of pointers. // One side will read from readBuf() while the other side writes // to writeBuf(). When both sides are done, call flip(), and the // reader can now read new-produced data, and the writer can write // into the buffer that the reader just finished reading. Repeat // until game over! template<typename T> class Flipper { public: Flipper() : flip_(0) {} T const *readBuf() const { return buf_[flip_]; } T *writeBuf() const { return buf_[1-flip_]; } void flip() { flip_ = 1-flip_; } private: T buf_[2]; int flip_; }; struct ClientState { Vector3 position_; Vector3 velocity_; Quaternion orientation_; Quaternion spin_; int hitpoints_; int weapon_; int ammo_; int grenades_; }; struct GameState { ClientState clients_[MAX_PLAYERS]; }; Flipper<GameState> gameFlipper_; struct ClientInput { float move_; float turn_; float jump_; Quaternion aim_; bool fireWeapon_; bool throwGrenade_; bool cycleWeapon_; }; struct AllInputs { ClientInput inputs_[MAX_PLAYERS]; }; Flipper<AllInputs> allInputs_; Semaphore ready_; Semaphore clientsGo_; int numClients_; void mainThread() { ready_.wait(numClients_); gameFlipper_.flip(); allInputs_.flip(); clientsGo_.set(numClients_); auto inputs = allInputs_.readBuf().inputs_; auto oldState = gameFlipper_.readBuf().clients_; auto outputs = gameFlipper_.writeBuf().clients_; do_the_needful(inputs, oldState, outputs); } void clientThread(int clid) { ready_.set(1); clientsGo_.wait(1); auto readFrom = gameFlipper_.readBuf().clients_[clid]; auto writeTo = allInputs_.writeBuf().inputs_[clid]; do_client_things(readFrom, writeTo); }
  13. Yyanthire Studio


  14. Welcome to our sixth dev blog- Structure Overview and Research, part 2! In our third dev blog, we dove into our Structure system and provided an overview of the essential “RPG-like” elements of the game. Upon the very recent completion of our Research integration, all of what was considered ‘planned’ has now been finalized into the core of the game. We imagine these will undergo more modifications and additions as the game progress, but here is how they currently stand. If you missed our third blog post, Structure Overview check it out here: https://www.indiedb.com/games/moonrise/news/moonrise-dev-blog-3-structure-overview We will be continuing on from where we left off, what’s been put into the game, and so forth. --- Given that this project is a real-time strategy, we needed to focus our progression on not just one character, but the collective army as a whole. As you could imagine, this extends the possibilities into making something very unique, very quickly, by quite a considerable margin. --- The first, and most obvious thing we wanted to do is Stat Progression. This is fairly simple and straightforward- spend Resources to improve ALL of your Warrior’s health and mana. In a world where your warriors die quickly, and mana is something that should be greatly conserved, this should give you that extra edge to survive and fight longer. --- _ In addition, added survive-ability comes in the ways of regeneration. As, even if you have health and mana very high, it is still limited. Extra regenerative properties makes it that much more indefinite, and sometimes even completely necessary against all the evils of the land. --- _ Lastly comes damage. All the health, mana, and regeneration in the world means nothing if your target has the same properties. This damage modifier effects ALL of the spells any of your warriors can cast, greatly improving everything collectively. --- The next area to focus on are basic global elements necessary to function. This includes both Supply and Resource cap increases, making you able to store more Resources, and build an even bigger Army. --- Now onto the core- Being able to uniquely design your army is a fundamental part of Moonrise. As such, some of the personifying factors are things like… Class Advancement: While lower-tier Warriors are freely able to be drafted into the army, the strongest ones require something special. Not only do they have a high resource cost just to unlock, but they also require finding their special Tome hidden within the world (more on Tomes below). Something to note: we have essentially 9 different classes total at the moment, each uniquely different from one another at their core, and will be developed to be much more different from each other as the game progresses. Spell Unlocking: Similar to unlocking a Class, to further define each Class as a whole, you are allowed to unlock various new spells for said Class, thus defining them in even more detail. The costs will be high and irreversible, so choose wisely. Aura Unlocking: Wildly different from Spells, but at the same time still similar are Auras. Auras are effects that take place in an area around the user, typically applying status conditions to enemies or buffs to allies. Their effects apply passively, their essentially passive spellcasts. As with Spells, these, too, can be unlocked. It is important to note- you are never truly locked out of other pieces of content for your decisions. It is merely the high costs that force you to pick and choose what you can afford. In addition, the strict amount of allotted Warriors at your disposal forces a very well-tailored army. As you advance deeper into the game, you are able to unlock more, expanding your choices, until you reach the end game where the desired goal is to not only allow you, but also require you to use everything given to you to be able to progress. We feel this would give the most dynamic and interesting gameplay experience possible. --- Lastly, Tomes are the final thing to be talked about. Hinted at above with Class Advancement, Tomes are artifacts used to progress a Class even more. They can be attained anywhere from slaying powerful beasts, to discovering them in the arms of magnificent critters, or even gifted for aiding an important creature. The Tome is the core piece preventing Advancement, and once it has been acquired, the only thing left is to gather the Resources necessary to pay for such an advancement. Finding them is the true challenge, for they are never handed to you, only earned through venturing and experience. --- Thank you for viewing our post! Support and interest for the project has been rapidly growing ever since we began posting here, and we're incredibly grateful for all the wonderful feedback so far! We hope this project interests you as much as we love developing for it, and please look forward to more updates coming in the very near future! If you’re brand new, consider checking out our trailer and overall description of the game here: https://www.indiedb.com/games/moonrise
  15. JTippetts

    white dragon finger paint

  16. Yesterday
  17. Michael Marchesan

    register subset of stl to angelscript

    Hi, is there any available prewritten code that focuses on bringing most common stl features to angelscript? I'm mostly thinking of template containers (list, vector, map, queue, stack, set ...), algorithm, string, possibly iterators. Did anyone do a comprehensive stl register .h/.cpp, is anyone working on it, or i'll be the one to do it? I whish not the last one because i found out about angelscript right now...
  18. conditi0n

    Need pathfinding idea feedback

    Are you referring to walkable areas/non-walkable areas within world space? certainly. you can store every walkable tile as an index in a hash table. or, you can create a navigation mesh out of a collection of tiles and assume they're walkable, then store them all in a hash table (which might be a bit harder to do - a graph might be better for this). my point is that, to render these things, using a 2d camera system, and to calculate collision, and do calculations of the entities that are "upstairs" or "downstairs", and calculate whatever other procedural elements you have in your world. you are not going to want to create several height-layers to such a large world without custom culling code that has to remove the other layers, when you can simply remove them yourself using a level system.
  19. Hey guys hope you're all doing well New to this group and decided to join due to lack of motivation to work on side projects by myself. I got a comp sci degree, 2 years of coding/game dev experience in Unity and 1 year proffesional experience in mobile dev for both Android and IOS in my current job. I would be glad to work on 2D, preferably small scope projects just so we're more confident we can bring it to a nice finish. Unfortunately, I dont have a formal portfolio but I'm leaving below a) A Unity game I completed by myself from start to finish (worked on game/level design, animations, some graphics, coding, promo, publication) and b) a demo of my uni dissertation where I worked on the mechanics of the game and integration of the vr functionality and motion detection algorithm. a) https://play.google.com/store/apps/details?id=com.OneMinuteGames.BallBros&hl=en b) If there are any teams out there looking for help with their 2d games drop me a message. Thanks for reading (and watching) guys, happy devving!
  20. jakeplow

    white dragon finger paint

    you have not seen this code in action, there isn't anything like it anywhere ,not even close after you start it up you type c for one dimention and for drawing on the next temple with respect to 0.00 type a z x as needed all drawing done with mouse all code is glut and opengl compatble and was code on visual c ansi style you can create a movable world of stars all in 3D what i wanted to do is create a game where triangler star ships that battle as they mov in a big figure 8 and they shoot as they go, it would take a while to get used to it but code can be added that can handle steering also thx for the tips all my best to ya :> james says peace Y out by the way none of your code runs in any kind of compiler not to mention you don't direct the person to what it was coded on for compiler, see everyone got eyes hehehe hohohoho
  21. Hello guys! I'm programming with a friend a basic 2d videogame with C++ and SFML. We're using a very basic main-thread in the server that updates every entity etc., and one thread per client that handles the communication with tcpsockets. However, when I tried to program a multiplayer game in the past, I encountered a common problem with multithreading: my client thread tried to read a main thread variable (like a coordinate) while it was modifying it/deleting it, resulting in a SIGSEGV. In the past, I've resolved this using a list of game snapshots and atomic variables, every time the main thread updated the game it was pushed in a game_snapshot list, creating a list of "game states", the client had just to take the head of the list, convert and send it, while the main thread deleted all the object behind the 100th node (only if one client-thread was not using it). Is that method correct? We're not currently right now thinking to change the "communication method" (like changing the main thread and one thread per client for something more efficient like async multiplexing), since this is a very basic project done to learn game dev in c++, but the "snapshot method" seems pretty inefficient to me. 100 instances of the same game seems pretty heavy to me. P.s. No, mutex is not a solution. If a client lags and blocks the access to the game, the game freezes for every one. Same if the client has, for example, 1000+ clients, with every thread trying to mute the variables of the main thread. We're obviously never getting to have more han 4 clients, but this project has been created to learn the basics. Thanks you so much! Sorry for any spelling mistake, I'm not really good in English :-(
  22. This answer helped me a lot!!! Thanks!
  23. Somehow, but most of the substeps can run in parallel and you can also have multiple pipelines being executed at the same time. Imagine rendering a triangle. It consists of 3 vertices. Transforming each of them to screen space in a vertex shader can be done in parallel since they don't depend on each other. After they have been placed, the rasterizer figures out, how many pixels on the screen are affected by the new triangle. This can only be done if all vertex shaders have run. For each pixel, a fragment shader is started, also in parallel. Of course, the fragment shader of the current triangle can only be executed after its vertex shader, but usually, you have more than one triangle to render, so while the fragment shader of your first triangle is executed, there might be some other triangles vertex and fragment shaders, that are also executed at the same time. Yep, they are great. Can't wait until the author finishes ihisVulkan tutorials
  24. Yes, each single pipeline stage can only work on the data of the previous stage, but there are thousands of pipelines running in parallel. Embarrassing, isn't it ? 🙂 Edit: oh, by the way, those tutorials you linked really helped me a lot.
  25. a light breeze

    Game initialization.

    Yes, static variables that are never constructed are also never deconstructed - but in that case, the variable doesn't really "exist" (i.e. have a lifetime) at all, so my short statement is still basically correct. The rules for determining which static variables actually get constructed, in which order and at which point in the program, are actually quite complicated with lots of special cases to consider.
  26. GoliathForge

    The 3D book

    Looking pretty sweet in here
  27. Nypyren

    Unity Highscore SAVE

    Unless you have a very specific reason not to, you should put your PlayerPrefs.Save calls AFTER the SetFloat calls.
  1. Load more activity
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!