Jump to content
  • Advertisement

All Activity

This stream auto-updates     

  1. Past hour
  2. 8Observer8

    Use webassembly or no ?

    I know that Unity can compile to Wasm. But Unity Team is not supported Wasm for mobile devices: https://docs.unity3d.com/Manual/webgl-browsercompatibility.html Maybe Wasm does not work of mobile devices. I cannot check it. I study pure WebGL and TypeScript (my opinion that TS is better than JS). Pure WebGL 1.0 is supported on all modern browsers (expecting Opera Mini). WebGL 1.0: https://caniuse.com/#feat=webgl WebGL 2.0: https://caniuse.com/#feat=webgl2 If you want to use WebAssembly I think this course is good for beginners: WebAssembly - Accessing C and C++ in Web Applications
  3. gh0stam

    New composer, looking to connect!

    Hey Nate! Thanks so much for listening. Funny you should say that, I originally wanted sax on that song! My dad plays, and I played throughout High School, so I'm always hearing parts. Some of my favorite fusion pieces are Yoko Kanno's Tower of Babel, as well as the Mirrormask soundtrack by Iain Ballamy. I would love to let you play on the track! Message me if you are interested and I'll shoot you some stems. I'd love to chat and pick your brain sometime, as I'm just getting into this world. Thanks again for reaching out. gh0stam
  4. ArcanaDragon

    New Hero Added 04-22-2019

    New Hero Added: Joker Click here to play Hero Land for free in your browser
  5. Today
  6. kseh

    hex grid

    Personally, I use for loops when the number of iterations through the loop is known or can be fairly easily calculated and stored in a variable. I use while loops when I want to stop iterating through the loop on some particular condition.
  7. phil67rpg

    hex grid

    should I use a for or a while loop?
  8. kseh

    hex grid

    Well, as I'm sure you know, if you want to do something multiple times, you use a loop. Use a loop to paint your hexagon and adjust its location as the loop processes.
  9. Alex Gomez Cortes

    Weird lighting when translating object

    Hello and thanks for your reply! I modify the normals every frame because the multiplication of the normals is made on the vertex shader. I understand what you said, but if dont multiply the normals then I cannot rotate the object. Isnt there a way to have the normals a way the object can be rotated and translated without having any problem?
  10. pristondev

    Directx9 Crashing with Shader Model 2.0

    Ye the problem its on Vertex Processing by Software. I tried set the flag D3DUSAGE_SOFTWAREPROCESSING on CreateIndexBuffer and Create Vertex Buffer but didn't works. Do you know the right way to uses software processing?
  11. phil67rpg

    hex grid

    I am trying to draw a whole screen of hexes , I am able to draw only one hex here is my already posted code private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = e.Graphics; Pen whitePen = new Pen(Color.White, 1); float height = 50.0f; float width = (float)(4 * (height / 2 / Math.Sqrt(3))); float y = height / 2; float x = 0; float row = 0.0f; y += row * height; float col = 1.0f; if (col % 2 == 1) { y += height / 2; } x += col * (width * 0.75f); PointF pt1 = new PointF(x, y); PointF pt2 = new PointF(x + width * 0.25f, y - height / 2); PointF pt3 = new PointF(x + width * 0.75f, y - height / 2); PointF pt4 = new PointF(x + width, y); PointF pt5 = new PointF(x + width * 0.75f, y + height / 2); PointF pt6 = new PointF(x + width * 0.25f, y + height / 2); g.DrawLine(whitePen, pt1, pt2); g.DrawLine(whitePen, pt2, pt3); g.DrawLine(whitePen, pt3, pt4); g.DrawLine(whitePen, pt4, pt5); g.DrawLine(whitePen, pt5, pt6); g.DrawLine(whitePen, pt6, pt1); whitePen.Dispose(); g.Dispose(); }
  12. ritzmax72

    Weird lighting when translating object

    I believe for translation you don't have to touch the normals. Are you modifying normals while translating?
  13. Hello everyone, About a month ago I finished programming the lighting (or at least it is what I thought), because a few hours ago I realized that when I translate the object, the lighting breaks (not when rotating, because I multiply the normals by the transpose of the inverse of the modelMatrix), only if I move the object from the 0,0,0. I only have one light, a directional one. Here the rock is at 0,0,0. T Here the rock is at -10,0,0. I only moved it to the left, and as you can see looks like the normals are wrong, but I do not touch them, except when I multiply them by the transpose of the inverse of the modelMatrix (if I do not multply the normals by that matrix the lighting doesnt break but when the object rotates the light rotates with it). So, is there a way to have the normals well for translating and rotating? Now I can translate the object and the lighting doesnt brake, but if I rotate it the light rotates with it. Now I can rotate it but if I move it the lighting breaks. Thanks a lot!!
  14. pristondev

    Directx9 Crashing with Shader Model 2.0

    Both uses D3DDEVTYPE_HAL, 'll try what u said. Already gave me a light, thanks.
  15. If you're purely talking about the reflection direction, I would be tempted to say that the magic simply happen with your normal map as long as the normals don't all point perfectly in the same direction.
  16. Here let me Google that for you
  17. Well instead of killing the object directly you could do this: // Game main loop. while (true) { std::set<Actor*> actorsThatNeedToBeKilled; for(Actor* a : playingActors) { // Code..... if(...) { Actor* enemy = findEnemyToKill(); if(enemy && ...) { actorsThatNeedToBeKilled.insert(enemy); } } } // Now kill the actors that no longer will participate in the game. and continue with the next frame. for(Actor* actorToKill : actorsThatNeedToBeKilled) { game.killAndDeleteActor(actorToKill) } }
  18. Gnollrunner

    Sandbox MMO Idea ( My Video Game Idea )

    Is this something you're working on, or is it just ideas at this point?
  19. Alberth

    hex grid

    There is nothing wrong with re-inventing wheels for educational purposes, but please make sure YOU re-invent it rather than getting it from someone else. There is no substitute for learning than trying and experiencing it yourself, it's really the best way. Sure it's slow and you will fail to find the answer a few times, but that is normal when you're trying to do something you never did before. I have been programming for nearly 40 years, and I still make wrong turns at times, and fail to find a solution. However, a failure teaches me where I made a mistake, so I can try again, and avoid making that same mistake a second time. Eventually, you get to know all pitfalls to avoid, and then Eureka, it works.!
  20. kseh

    hex grid

    You have not actually posted a question or otherwise indicated what you are having problems with. I don't have experience working with hexagon grids and it isn't something I can invest the time investigating to be able to provide any suggestions. In general, I would expect it to be much more difficult than a square tile based project. But if you just wanted to print out a grid, you have code to do that which you can examine to try and understand what's going on.
  21. Alex suggested to have a hotkey cheat sheet. Meaning, coming back to a game and forgetting the important keys for a screen, make a default key (such as Tab), bring up a window while held that shows the relevant keys for that screen and what they do. That way they don't need to be looked up in the configuration. Since not all keys are needed on all screens, it may give hints on what a screen can do that the user might have forgotten. Original post blogged on b2evolution. View the full article
  22. Steve_Segreto

    Directx9 Crashing with Shader Model 2.0

    Seems like creating a d3d9 device with software vertex processing is not working ... but it looks like if you use a "pure" device with hardware vertex processing your scenario works. Also interesting in the first log is that the supported vertex shader version is listed as 0.0 and in the second log it's listed as 3.0 Is the first log from a REF or software device? Can you avoid going down that path and stick to hardware devices only?
  23. Hello What would be the most "hidden" or "unexpected", "unusual", ("difficult to think about ahead" maybe even)... We all know more or less about the graphics, programmers, musicians, sound guys, animators, voice actors etc. etc. But there are surely less "visible" but yet NECCESARY costs most people who did NOT yet gone throught the WHOLE process of producing and releasing THEIR OWN game might not know about or thought about. I would like to name few and maybe even estimate the cost of each and i would like others to add their "tips" and experience regarding this. 1) Game testing - according to me a lot of this is overshadowed and underestimated by regular development but you still need to test and "Debug" your game which costs time/money. I dont have experience with this so i dont know the cost 2) Getting approved by various "age" rating agencies like ESRB, PEGI, some australian one and others. This was a suprise for me, and altough its said its not necessary to get this rating, but in reality it practically IS NECESSARY since when you dont have it, some shops will simple refuse to carry your game or do something similiar to ignoring it. It was a shock to me, listen to it in some interview with some gamedev. You practially NEED it or NO shop will take your seriously... Is this true...? The COST for these ratings was also quite a negative suprise for me cause i think that for the big three (PEGI+ESRB+the australian one+ you should probably get even the german one (?) it i think like around 2 750 USD... 3) AFAIK even demos (not a current issue really) but even TRAILERS (!) need (?) to be apoved (and pay for aproving). Is this true? 4) Steam admission fee - i think theres something there but its small, but i rather mention it. Could someone elaborate more on these and add additional "hidden" costs that are not as "visible" or "easy to find/figure out" in advance? Thank you (Sorry for english, have written it in hurry)
  24. HappyCoder

    Sandbox MMO Idea ( My Video Game Idea )

    This is a large scope for even a AAA studio. There are certainly some interest ideas in your post but nothing stands out as being the hook, or unique interesting concept, to your game that would set it apart from the rest. If you are actually interested in making games you need to start smaller. Way smaller. Pick a single interesting mechanic and create a small game around that mechanic to explore how it effects game play. This would be a game like Undertale or Braid. Another approach would be to pick an established genre and just make a really well polished version of that game like Hollow Knight. Even a game like Undertale is large in scope for somebody new to games. You need to start much smaller.
  25. Steam We’ve had a busy few months, but we are now officially on Steam! Obviously an important place for us to market our game is Steam. Although we are still developing away, it is important for us to get a presence on Steam and start building up a community. A major part of that is getting people signed up to our “Wish List”, so that they can see updates and get notified when the game is ready. So, if you like the look of our game, click below and add us to your wish list and take a look at our Steam page. https://store.steampowered.com/app/1047870/Something_Ate_My_Alien/ Enhancements We’ve been adding lots of new effects, sounds and challenges to all the planets. The game is now 100% playable from start to end, but we still have some things to finish off, polish and refine. We added lots more particle effects and lighting to make the battles stand out, and some other interesting effects including snow storms, earthquakes and a new device on Lelantos that portals the Aliens around. There are now lots more upgrades that you can give your Aliens to help them out while down on the planets solving puzzles and fighting with the locals. Including a new weapon, the ‘Bomb Launcher’ that allows the Aliens to fire bombs into tight areas to clear out a horde of enemies. We worked on some colour-blindness settings to help players to be able to identify where the blocks in the puzzles fit into by having symbols representing the colors. This is an option you can turn on in the settings. Also the ability to ‘zoom’ the view in, so you can get a closer look at things. In conjunction with starting up on Steam, we have also released a new video trailer showing off the current state and game play. This showed off all the aspect of the game, Puzzle Solving, Digging, Collecting and Fighting! We also updated our main logo and you can see that in the thumbnail of the video below. Something-Ate-My-Alien-RoKabium-Games-Dev-Trailer-2-FadeTransitions-v4-1440.mp4 Alpha Testing We’ve also started public Alpha testing. So if you fancy trying out our game and give us some feedback on what you think, click the link below to go to the forum post about how you can apply to do some testing. http://www.somethingatemyalien.com/forums/Thread-Sign-up-for-Alpha-Testing Last month we joined forces with a company called IndieBros, and they will be helping us with Social Media, Steam and general marketing activities. We felt we needed help in this area to make sure our game is a success when we launch. Over the next few months we will be keeping in contact with our Alpha testers and once we are happy that nothing major is going to change we will move to Beta testing and then onto a launch. So still some work to do but the finish line is in sight.
  26. Give it a try (it is a pretty casual game) and if you have some friends on the same wifi network, feel free to try the multiplayer out! (inspired by Ultimate Chicken Horse's multiplayer, if you've ever played that one). https://play.google.com/store/apps/details?id=com.hestermanholdings.Dash4 Seize the crown and beat your friends to the finish line in this fast-paced multiplayer game!
  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!