Jump to content
  • Advertisement
    1. Past hour
    2. duke_meister

      c# console snake game

      I think you should start with Tic Tac Toe. That's probably an achievable first step. Well, good luck
    3. Today
    4. hplus0603

      Multiplayer networking for modded open source game?

      That sounds like it, yes. "all" you had to do 🙂 I'll let you in on a little secret: Do you know why most RTS-es have a "Yes, Sir!" acknowledgement animation/sound cue for each command you give? It's long enough to hide the transmission latency to all other players. Thus, by the time the units actually start moving, the command has gone from your computer, to the server, and back out to all players (including back to your own computer.) Typically, the local client actually starts moving units when it gets commands back from the server, and the "local" select/command/animate loop is entirely there to formulate commands to send to the server. I can't guarantee that all open source RTS-es you find will use this exact mechanism, but it's the "attractor state" RTS network architecture, so I wouldn't be surprised if many do.
    5. Rutin

      How can i create a Fighting Game?

      I noticed you edited your other post so I'll address this part first: Put this project on the back burner for now and look at it in future. If you're brand new to game development you need to build up experience and acquire new skills first. I cannot answer if people have created anything pre-done for such a system as I code things from the ground up as my games require. If you're brand new then I'm going to suggest C# with Unity to start, otherwise you can look into Unreal but don't touch C++, work with Blueprints if you really want to use Unreal. Sometimes you just gotta try things out and see how you like them. The problem is at your level you're going to be confused if you have no experience no matter if you do C# and Unity, or Blueprints with Unreal. Pick one, get some tutorials and start making basic games like Pong, a Maze Game, Checkers, ect... You'll learn a lot by doing, oh and forget about online multiplayer for awhile. I've used both Engines and I cannot say which is better (there are pros and cons to both - but I prefer Unreal over Unity as a preference. Plus I like using C++. The question is which is better for 'you'. I would still suggest Unity due to C# being a good entry into programming. Pick up Visual Studio Community Edition: https://visualstudio.microsoft.com/vs/community/ Get a good book on C# to learn general programming: https://www.amazon.com/C-7-0-Nutshell-Definitive-Reference/dp/1491987650 Use MSDN for more help with C#: https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/ Start coding with the console first to learn the basics of the language, then jump into Unity and follow along with their tutorials. https://unity3d.com/learn/tutorials There are a lot of 'Asset Store' things you can get to help support your development, but I would still suggest you learn how to do as much as possible. I suggest buying a course as well: Complete C# Unity Developer 2D: Learn to Code Making Games https://www.udemy.com/share/1000PUB0YfdVhURXw=/ and Complete C# Unity Developer 3D: Learn to Code Making Games https://www.udemy.com/share/1000PKB0YfdVhURXw=/ You can find more on Udemy: https://www.udemy.com/courses/search/?src=ukw&q=unity The most important thing above all at this stage is to pick something, and don't jump around from engine to engine or language to language. Stick with Unity for example, and make it work. Learn C# the best you can, learn the engine, and make a lot of small games to try out different concepts. All of this is transferable later on if you want to try out different engines and languages. Don't forget to post if you have any problems with your code so we can help you out. If this isn't something you want to do right now, you'll have to find an engine that caters to your needs, or maybe look into game modding as another option, but I cannot comment on that. The above assumes you want to program, otherwise if you're just looking at designing then you'll need to gather up a team. https://www.gamedev.net/forums/forum/29-hobby-project-classifieds/
    6. mysteriousmonkey29

      Options/Advice for Selling Mod on Open-Source Game?

      Yeah, good point. Even if I was undercut, it would validate interest in the game and i could then maybe go an make my own improved version from the ground up. Thanks!
    7. Cool Racoon

      How can i create a Fighting Game?

      Yes i'm looking for something predetermined, but if there isn't something like that, i guess i can try to program the features but you know how to program them? Because i just have the idea, and a few characters i made but just made them in excel, i used the squares to simulate the hitboxes. Which engine its better, unreal or unity?
    8. Rutin

      How can i create a Fighting Game?

      You can do this in both of those engines, you just have to program the features in. Or are you looking for something that does this for you?
    9. Cool Racoon

      How can i create a Fighting Game?

      I've looked at various engines but i can't find one that works like this, bc the game is based on a squared floor, every hitbox and character position is based on squares. The idea is to play in a 40x40 squares stage, so characters can freely move, not looking for specific hitboxes, just a general square hitbox, so if the player is standing on a certain square, the opponent can make an attack that approaches the square where the other player is standing, and it will hurt it and push it to another square.depending on the knockback. Im new to the game dev, i barely know how can i do it and which tools i need to animate, its the first game i'm going to make. Do you know any engine that can work? Thanks.
    10. Rutin

      How can i create a Fighting Game?

      Have you looked into Unity or Unreal? https://unity3d.com/ https://www.unrealengine.com/en-US/what-is-unreal-engine-4
    11. mysteriousmonkey29

      Multiplayer networking for modded open source game?

      That's good to know; didn't realize. I assumed this would be laggy, and only practical for less graphics-intensive games. Good to hear, as this makes things much simpler. So if I pick a game that already supports networking/matchmaking, all I would have to do is write my user-programability mod, wrap the game in the steam API, and mostly reuse the pre-existing game content and networking? This sounds very doable.
    12. Cool Racoon

      How can i create a Fighting Game?

      where can i find the link to that forum?
    13. Tom Sloper

      How can i create a Fighting Game?

      I think you're asking "what engine should I use," which is not a Writing question. Moving to appropriate forum.
    14. DividedByZero

      Blending textures question

      Probably, but if I do the image becomes washed out and along with that the same symptom remains. Seems that it probably is a blend mode issue, but I can't seem to figure out, for the life of me, what parameters I need to put in to get a 'normal' (using Photoshop terminology) blend. I.e. The new image gets pasted over the original image.
    15. ALT PLUS VIETNAM

      3D ASSET BUNDLE - VIASS SIMPLE CHARACTER PACK

      ❣️❣️HEY GUYS, WE ARE VIASS - VIETNAM ASSET DESIGN ❣️❣️ Today, we introduce to you, the best 3D asset ever for your game - VIASS SIMPLE CHARACTER PACK This is a low poly asset bundle containing characters, animals and equipments. With this package, game developers can create every kind of game with polygonal style based on their imagination. Character: White Boss, zombie, knight. Animal: Dragon, horse. Equipment: Arrow, axe, bow,etc. Characters and animals have replacement color and texture. List of animations for the characters and the Dragon: idle, walk, die, attack, get hit. ---------------------------------------------------- To get a better look at our 3D product, click the link below: Unity Asset Store - Click here Follow us to stay updated: https://www.facebook.com/ViassDesign https://viass.altplus.vn/ Thank you!
    16. Hi all, I am a programmer. I am starting to learn about game programming for the Android operating system. Some games I did: Bombi: https://play.google.com/store/apps/details?id=vn.nguoiviet.bomb GoSouth: https://play.google.com/store/apps/details?id=com.nguoiviet.gosouth My ability to design is limited and currently, I don't have much experience with game programming. But I really like game programming, I hope, anyone with the same interests as me or can design, cooperate with me to create good games for everyone. Thanks for your interest !!!
    17. phil67rpg

      c# console snake game

      well I put your code in vs2017 and it works. I think I am going to use a list to move the snake. Do I need to use my for loops?
    18. There are no hard and fast "rules" so you can't really be "breaking the rules" 🙂 However, there are hard-won "best practices" that, 99 times out of 100, end up giving the best experience to players. You don't have to follow the best practices -- it entirely depends on what your most important goals are. Turn based game on UDP? Fighting game on TCP? RPG on top of video streaming? Whatever works best for YOUR GAME should be what you use. Your game has gameplay, and simulation, and graphics, but also a target platform, operating cost, and community/player base, which are just as important. It does help to understand what the failure modes are for the different kinds of transport, so that you can define your simulation/gameplay to work well under the particular specifics of your chosen implementation. Tp me, that's what this thread is about: "If I want to do an FPS on TCP, what should I think about?" It's not about saying "all FPS-es on TCP are doomed from the start" 🙂
    19. Another thought to add: There is a fairly serious FPS around at the moment that uses or was using TCP. It's called Ironsight. I haven't followed it, but I saw that people were complaining about the TCP and that the developers made an (unsuccessful?) effort to switch to UDP. It's probably be worth looking into if your interested in exploring the feasibility of TCP in shooter.
    20. Hello, I'm an indie game developer that has been working on a number of projects. I'm launching a website within the next couple months which will link to a demo game and an open source multiplayer networking library I've authored. I expect to use the demo game to advertise the "netcode" underneath with the hope of commoditizing multiplayer game code for indie developers. The project will be backed by Patreon. It's a serious project nearing the end of about 8 months of labour. I am looking for a digital artist to produce three assets for me for the game demo. Assets are; a) A cloaked mage, b) a ranger, and c) a warrior. I have 3d assets which the 2d art will need to be based on, these 2d assets will be used in the character selection screen. I'm looking to create a serious brand and the game demo will be in existing for awhile, likely hosted on AWS. This is a portfolio opportunity, unpaid. If you are interested (even if licensing me some of your existing work) let me know. Thanks, Jarmo
    21. Yesterday
    22. Hey, i'm new to the game developing, i have this idea of a basic fighting game, looking for a platform or an application where i can create this. The idea of the game is simple, but i don't know where can i develop this game. The game would be a 1vs1, 2vs2 or 3vs3. Every character will have its own HP stat, Movement Speed stat and Jump Speed stat, the game is based on turns, so if it is your turn you can move freely depending on your movement speed and jump speed, and you can also use 4 attacks per turn. The game is based on squares, like playing chess, the range of the attacks is calculated by squares and the movement speed of the characters is calculated by squares which can be horizontal, vertical or diagonal depending on the character. For example this is an idea of what movement speed should be like, if player 1 has 5 speed points and player 2 has 6 speed points. Jump Speed works as an additional movement speed, but you can use specific attacks while jumping. If you want to face another direction you will lose 1 movement speed point. Now with the movement speed explained, i will explain how attacks will work. Attacks are also based on squares, the range of the attack to be precise. Every character will have 5 types of attacks, which are, Charged Attacks, Special Attacks, Tilt Attacks, Aerial Attacks and Grab Attacks. Each attack will have its own range, damage, knockback and launch direction. If the opponent has 10 HP and your attack has 3 damage points, your opponent will lose 3 of its HP, and the game won't finish untill the opponent loses all of its HP. Charged Attacks are the strongest attacks, usually they have an average or high knockback. Special Attacks have neutral damage, and can also include movement speed while using them. Tilt Attacks are weak attacks that usually have low knockback so you can combo on them if you are close to the opponent. Aerial Attacks have neutral damage, and can only be used while performing a jump. And finally Grab Attacks, drags your opponent in front o you and it will perform an attack, you can add extra damage to your Grab Attacks, but you will lose your attack turns. This is the list of attacks available per category: - Charged Attacks: Forward Charged Attack, Up Charged Attack, Down Charged Attack. - Special Attacks: Forward Special Attack, Up Special Attack, Down Special Attack. - Tilt Attacks: Forward Tilt Attack, Back Tilt Attack, Neutral Tilt Attack, Up Tilt Attack, Down Tilt Attack. - Aerial Attacks: Forward Aerial Attack, Back Aerial Attack, Neutral Aerial Attack, Up Aerial Attack, Down Aerial Attack. - Grab Attacks: Forward Grab Attack, Back Grab Attack, Up Grab Attack, Down Grab Attack. Each of this attacks will be different on each character. If your opponent is behind you and you dont have any movement speed to change your position, you can perform a Back Attack, because the hitbox usually is behind you. Up Attacks usually launches the opponent vertically, if the Up Attack with vertical launch has low knockback, you can combo with other moves without moving, but if the Up Attack has high knockback, the opponent can perform an air dodge, to any direction, but vertical launching moves with high knockback can early K.O the opponent even if the opponent hasnt lost all of its HP. There are different types of hit boxes, each of them works differently. - Hit Box: Causes damage. - Additional Hit Box: Causes additional damage. (Only certain attacks have additional hit boxes) - Character Hit Box: Causes damage also in the player box. - Air Hit Box: Causes damage only when your opponent is in the air. - Alternate Hit Box: Causes damage if you choose to. (Only certain attack can have alternative hit boxes, like blasting attacks) - Trip Box: The squares your character is moving while performing an attack. - Drag Trip Box: The same as Trip Box but it drags your opponent with you while you are using the attack. - Alternate Trip Box: The squares your character will move if you choose to. - Grab Box: The range of the grab, to perform a Grab Attacks, works almost like a Hit Box. (But will have a special animation) This is the idea of how the hit box will work, of two different attacks. In which the Player 1 uses an attack with 2x6 squares hit box and Player 2 uses an attack with 1x4 squares hit box. This is an example of Player 1 using a Charged Attack with 2x6 squares hitbox on Player 2 that has 5 knockback squares. This is an example of Player 1 using an Special Attack on Player 2, that has a Trip Box and a 1x6 square hitbox that has 4 knockback squares. This is an example of Player 1 using an Special Attack on Player 2, that has a Dragging Trip Box and a 1x6 square hitbox that has 4 knockback squares. This is an example of Player 1 using an Up Tilt Attack on Player 2, that has a 1x1 hitbox with very low knockback, and causes a vertical launch to the opponent. This is an example of Player 1 using an Up Tilt Attack on Player 2, that has a 1x1 hitbox with high knockback, and causes a vertical launch to the opponent. But the high knockback let the opponent to air dodge to the right. (Air dodge has 3 movement squares) (If Player 2 had less than the half of its HP it would instanlty K.O it) This is an example of Player 1 using a Back Grab on Player 2, with a 1x2 Grab Box and 7 knockback squares. This is an example of Final Fantasy Brave Exvius, that's similar of what i plan the game to look like. But with a more cartoon look like this, it's just an idea. I accept suggestions. Thanks for reading my post, that's the basic idea of the game, i tried to be very simple with the explanation, but if someone its interested on more details i can give them by message. Which platform i can use to develop this game, that works with squares, and damage, HP, attacks, etc.
    23. Sambo Hobbs

      System Requirements

      Thank you, Steam says that I don't need it to complete the release and I did check Unity's site and typed what they said.
    24. Rutin

      System Requirements

      If you cannot benchmark yourself then you'll need to send copies to people for testing. You can either find fans willing to do it, or use paid services for this. Nothing gets around doing the actual testing. Depending on if you're using a pre-made engine or not, there might be already established minimum requirements set which means your game is either at that, or above. Finding out RAM and GPU usage should be fairly simple as well. You'll want to consider the engine's GPU card requirements if applicable. This is where closed or open BETAs come in handy.
    25. 8Observer8

      c# console snake game

      It is a popular solution how a snake can grow: using System; using System.Collections.Generic; using System.Drawing; using System.Windows.Forms; namespace SnakeByPhil_WinFormsGDI { public partial class Form1 : Form { public Form1() { InitializeComponent(); CenterToScreen(); timer1.Interval = 200; timer1.Start(); } Random rnd = new Random(); Point foodPos = new Point(0, 0); const int snakeSize = 10; Point dir = new Point(snakeSize, 0); List<Point> snake = new List<Point>() { new Point(50, 50) }; private void Form1_Paint(object sender, PaintEventArgs e) { Graphics g = this.CreateGraphics(); foreach (var cell in snake) { DrawRectangle(g, cell.X, cell.Y, Color.Green); } DrawRectangle(g, foodPos.X, foodPos.Y, Color.Red); g.Dispose(); } private void DrawRectangle(Graphics g, int x, int y, Color color) { SolidBrush brush = new SolidBrush(color); Rectangle rect = new Rectangle(x, y, snakeSize, snakeSize); g.FillRectangle(brush, rect); brush.Dispose(); } private void Form1_KeyPress(object sender, KeyPressEventArgs e) { switch(e.KeyChar) { case 'd': dir.X = snakeSize; dir.Y = 0; break; case 'a': dir.X = -snakeSize; dir.Y = 0; break; case 'w': dir.X = 0; dir.Y = -snakeSize; break; case 's': dir.X = 0; dir.Y = snakeSize; break; } Invalidate(); } private void timer1_Tick(object sender, EventArgs e) { int newHeadXPos = snake[0].X + dir.X; int newHeadYPos = snake[0].Y + dir.Y; snake.Insert(0, new Point(newHeadXPos, newHeadYPos)); snake.RemoveAt(snake.Count - 1); if (snake[0].X == foodPos.X && snake[0].Y == foodPos.Y) { snake.Add(new Point(foodPos.X, foodPos.Y)); //foodPos.X = rnd.Next(0, Width - snakeSize); //foodPos.Y = rnd.Next(0, Height - snakeSize); } Invalidate(); } } }
    26. Rutin

      Dungeon Crawler Challenge - Post Mortem

      I'm glad you were able to make the deadline. I enjoyed your entry. Was the hardest one out of all of them, and I finished it by speed-running tactics. I replied to your forum post showing the completion. Assuming you're using animation frames or a timer per hit cycle, you can just do this: #1 -> Weapon Collision Checks against IDs not stored in the Hit Tracker -> If Weapon collides with a Snail then Register one attack -> Store ID for the hit Snail in a hit tracker When checking for collisions you should only check objects that do not have an ID stored in the Hit Tracker. Once Timer ends or Animation is on (x) frame to allow another hit cycle then you just purge the IDs in your hit tracker. This will allow you to maintain single hit registrations throughout. If you have two snails close enough to get hit at the same time but you only want to allow single target per cycle, then you just need to make sure once you cycle through a combat action you don't allow addition hits to be registered until you've ended your hit timer or you're on animation frame (x). Otherwise the above will work for multi-strike. If you need more help let me know. I hope to see more of your games either way. I'll be closely considering future challenges myself based on what is required and the deadline as I do all the visuals and programming myself. Even though I enjoy the overall experience and making art and coding, it just sucks not meeting the deadlines. I've failed two already, and barely completed the others on time. I don't recycle my assets after use for these, or even intend on releasing or working on these projects past the deadline so there isn't much motivation to push forward after as I have bigger projects I'm working on. Either way, keep us updated on anything you're working on. Great job!
    27. We are looking at Edutainment, as you said. When you refer to "saving the world" my first thought is keeping the environment we exist in survivable/livable. To me it's an environmental concern. Financial and other concerns disappear when the air doesn't even have enough oxygen to sustain our species.. Generally speaking the education part is the most important. The idea of making a game out of environmental concerns causes some hesitation in my mind. Since we are looking at educating the player, why not have it function as a simulation initially. The simulation teaching the player what their real world environment looks like and how it is eroding. Then the education comes in, how to, where to, why to etc do a specific thing and how it helps or harms. The game allows MMO style interactions and coordination to continue progress, but is not a requirement, players can make much slower but definable progress alone. Then the applicable local organization that works with that particular aspect of the environment is where the real world interaction starts. Players then donate time or help raise awareness via said organization and earn achievements and in-game progress. Lock significant rewards behind this interaction, causing a drive to participate real world, but participation is not a requirement for game progress. As the player progresses the real world interactions become more frequent and the in-game rewards become greater. Then, near the top end of the game, the real world interactions are about 50% of the game, rewards are accordingly difficult or rare. You can design class structure around specific environmental concerns (Metal/plastic/Electronic Recyclist, Water/Air Conservist, etc). As each player progresses in their class they are educated on the entire process of each class. For Example: how recycling plastic works and why we can recycle certain plastics but not all of them. This information is stored in each classes instructional database.... You know, i never read your blog about this, this could have all been addressed. I'll post and edit if necessary - gotta read your blog Edit: Read the blog post. Continuing on. Simulation first, education within the simulation. in game results from in game decisions. in-game results from real world decisions, and eventually in-game and real world results from real world decisions. I think you're best bet is to make this a slow transitional game. The simulation part I believe will be the most difficult. Probably have some basic idea of how it scales based on individual and group efforts. For example if a player is playing alone and doing all these environmentally improving things their progress is slower than a person who is collaborating 10 people to make changes, but there's a cap also, no more than XX people. The simulation is a microcosm of the players immediate environment uninfluenced by the world at large. The changes the player and their "guildmates" make affect their microcosm, and progress to that microcosm is greater when more guildies participate. Greater progress to the Microcosm is achieved when multiple people participate. Huge rewards and Mile-stones for Real world action - failure to participate means those who didn't show up lose out until that activity is undertaken again. I could go on for a long time with some structural ideas, Feel free to message me for more discussion if you're interested.
    28. hi Hodgman, many thanks for the hint about the UAV loading formats. At the end the problem was simple to solve. The Shader Compiler does NOT recognize in which format values shall be read So we have to explicit say read asfloat(.. then it works It took me soooo much time to find out beause i searched the problem at "so many other different corners". I hope some co-readers will have benefit when searching about this problem. About my question we can definitly say YES //in_position = out_data.Load4(t); // wrong //in_color = out_data.Load4(t + 16); // wrong in_position = asfloat(out_data.Load4(t)); // correct in_color = asfloat(out_data.Load4(t + 16)); // correct
    29. When I had submitted my project for the Dungeon Crawl challenge, it was very late at night. I was able to get everything sufficiently together to complete what was needed but I did want to write up more in the ways of a post mortum. Last Thursday I found out that we had another day to work on our Dungeon Crawler projects and I was quite releived to hear the news. I was able to get a bit of work done in Friday afternoon which basically amounted to positoning all the critters an items throughout the dungeon and doing a final check that the concluding dialogues came up and the menus looked ok and that sort of thing. The one little thing that I wanted to address in the evening was to ensure that the player would die when he landed in the water, For some reason, when a critter pushed the player into the water he would be fine and had ample oportunity to jump back out and continue on. I was feeling pretty confident I could handle that one little thing in less than an hour or so and then get everything uploaded. So having settled in to work on another machine, I ran the release build, tried a few quick tests and found assertion after assertion being thrown that I hadn't seen before. What was to be an hour or so of touch ups became four hours of franticly trying to find memory leaks and otherwise trying to stabilize things. The main culprit was from bringing over the class for the snails from an old project. A lot of things had changed with how I handle actors since I used it last and it needed more updating than I realised. Another problem was eventually tracked down to be an out of bounds array issue. A few more tests and I found that things had generally stabilized although I was still getting occasional crashes. I couldn't figure out how to reproduce them though so I just left it. Quite late at night, I checked through the list of required things and I wasn't entirely sure if I had enough Items in the game. In theory each weapon could count as an item. It might be evident that combat is easier with better weapons but I didn't think the difference between these items doesn't get expressed clearly anytwhere. I realised that I could quickly add an effect to improve the lighting when the player equips the glasses. It made sense as a power up item and seeing it work was quite gratifying. The dialogue system was something that I've been wanting to show off since WOA IV. I finally had a chance to do so with this project and for the most part it went well. I could add to conversations pretty easily and apply some logic to flow from one bit of text to another depending attributes set either in game or through the dialogue script. There were two problems I found though. The first was that I was unable to allow more than one section of dialogue that presented a choice to the player. The other was that I had never actually worked on being able to have conversations with multiple NPCs. Otherwise, I might've added a character in the lounge that you would have to retreive a flower for or otherwise setup a few other fetch quests. This is probably going to be something that gets some additional work done in the near future. The combat system... well it's not ideal by any means but I rather liked how it turned out. I haven't done a melee system before so I'm considering this one as one of the thigns that went well. Each weapon has a collision rect associated with it when you attempt to strike and it moves with the hand as a sort of swing. Anything within that rect is considered hit. Some additional work was needed to ensure that a collision with a critter was only registered once but concerned about not having time to sort that out, I just made the weapons collision rects smaller for the lower grade weapons. the result is that it's very difficult to hit anything with a dagger. It was supposed to be that daggers would require 3 hits on an enemy, short swords only 2, and long swords just 1. The ban hammer was going to take out all enemies within a much larger range but I didn't have time to make the necessary changes for that. The entire project seemed to be a continual exercise in adapting for time available. It surprised me the number of things that I just left as it was so that I could move onto the next. The invisble obstacals that were mentioned for example, some of them have explinations for being there and others don't. I just didn't have time to look into it and generally it seemed a jump would get you out of most situations. Gerneally, leaving things seemes as though it was the right way to proceed as in the end everything had come together sufficiently. But I'll need to be careful about using this project as any kind of base for future work. As for the future, there's a few things that I'd still like to finish on this project before moving on. But I don't think I'll be working on another challenge for awhile. I have a lot to sort out with my code base before I try something like this again and I'm behind on my project "One Day". It'll be good to get back to that project and when I'm able to wrap that one up I'll be taking everything I learned from it and the past two challenges and applying it to my perpetual, never going to finish it, open world sim. Or some new version of it anyways.
    30. phil67rpg

      c# console snake game

      hey guys thanks for all the input, is there anyway I can improve the snake movements? do I need to use the for loops I am using?
    31. Thank you both so much, I'll have faith. Josheir
    32. Sambo Hobbs

      System Requirements

      Hi there, I'm new to gamedev.net, but I have a question. If I don't have all OS types, but I know that I can build to all of them. How do I know what are the min and recommended specs to tell Steam? My game Super Kittens is a game developed in Unity engine and it will be released on 28th Feb 2019. It is a family friendly first person game. Thanks Sam
    33. Hello everyone, I want to present you my new game, "Vortex". Play the game online now: odiusfly.com/portfolio/vortex More games available on my website: odiusfly.com This game is available for licensing.. If you are interested, please don’t hesitate to contact me via email: odiusfly [at] hotmail [dot] com Best regards, Kyriakos
    34. CombatWombat

      Gyro + Accel values into useful values.

      I think you need to break this down a bit before trying to jump into detecting certain motion paths. Use the gyro and accel data together to form a reliable estimator of orientation and orientation rate of change. Unfortunately this is non-trivial, because it involves things like Kalman or complementary filtering to combine the data, so I'd have to second Nagle's suggestion of investigating a ready made solution from the drone community. You might want to look into using an IMU board designed for drones that also give you magnetometer data for 9 DOF. This can make your orientation estimate better. Some of the drone algorithms will likely have position estimation as well, since they typical do things like "return to take-off point" and enforce "no fly zones" (via GPS, though). Possibly you could plot position estimates over time (essentially the "path") and then check if those points are within some geometry to determine if you are doing "the sweep" motion. Maybe keep a rolling log of the last 100 positions (or however many) and compare that path to a known path that represents the sweep you want to trigger on. Sorry if this is kind of "hand wavy" and general.
    35. Have you run with the D3D debug/validation layer enabled to see if it's producing any warnings or errors? As a guess, UAVs have some weird rules around non-32bit loads... It sounds dumb, but try replacing your two Load4s with eight Loads.
    36. V3 build pictured, but the V4 upgrades are all internal to the pad.If you’re unfamiliar with my DanceForce work or the previous versions, please read the introduction of my V3 build post for the rationale and advantages of this particular approach to a hard pad and what I’m going for. In short, the DF is a slimmer, lighter hardpad that can be more reliable and consistent than conventional designs due to its use of pressure sensitive sensors that are separated from the “click action” of the actual steps. I’m now building the DanceForce V4 prototype. V4 is simpler, easier to build, requires less parts, and is cheaper. Traditionally I build and design these pads, make a bunch of tweaks, and play on them for a good while. Then I begin working on the draft of the instructional write-up, and eventually publish the full how-to guide. If I followed that timeline again, this V4 guide would appear in *checks notes* summer 2020. Let’s not do that. I began work this past weekend, so I’m just going to post a stream of photos and exactly what I’m doing as I go. Excluding pad graphics and a few incidentals, this pad costs about $160 to put together. Current Status: Core pad is done but top hasn’t been installed and control board hasn’t been assembled. These are not changed from V3. Building the Base Basic layout sketch of the initial cut pad.Note: the dimensions in this photo are slightly wrong and I had to go back and fix it. Always triple check your measurements before cutting and gluing!The base layer is 1/2″ plywood cut to 34″ x 33″. The extra inch on top will be useful for wiring. I’ve marked off the steps in pencil, and then begun adding the spacer layer. I’m using 1/8″ hardboard this time around, for shallower steps than in the past. My hope is this will reduce ankle stress and overall impact while playing barefoot. The bottom panels are 10.25″ square, the top are 10.25″ x 5.25″. The upper panels are sized to leave space for Start/Select buttons. Next step is beginning to lay out the contacts. I’m using 3″ copper tape today, but 4″ is probably even better because it’s less work and barely costs any more. I’ve added the hardboard spacers around the Start and Select buttons. Note that these go on AFTER the copper tape, which runs underneath it. Here’s a detail shot of what you’ll end up with: Finally, all of the contacts get connected together with a plus to serve as the common contact for the step sensors. That concludes the base layer. Sensor Construction Start by building the top contact. Cut four 10.5″ squares of Lexan, and cover one side in copper tape. Add a little strip around to the top side to serve as our connection point for later. It’s important here to place the contact strip off center. You don’t want it touching the extension strip on the common contact. I also clip the corners to leave space between steps.Place an 11″ square of Velostat over the bottom of the contact. It does not need to cover it completely. Then the top contact goes over it. The top contact MUST be insulated by Velostat on every edge or the step will not work. That’s why we cut it a little small. I’ve moved to 6 mil Velostat in the V4 design due to the higher sensitivity of pure copper contacts. Finally, duct tape secures the sensor in place. I’ve done a couple experiments now and it appears that too much duct tape is a bad idea. This is a pressure sensor and excessive tape applies so much pressure that there isn’t enough range left to reliably detect steps. The clipped corners leave space for hardboard strips that will fill the space between diagonal steps.Four assembled sensors. It’s a good idea to test them with a multimeter at this point, while the duct tape still isn’t that strongly bonded. You’re looking for 70+ ohms at rest, and sub-10 with foot pressure.I also add some corner boundaries at this stage. These are hardboard strips of 1.75″ x 0.5″ and they are important to have good corner separation of the steps. The gap is important, wiring is going to run through there. Electrical Get ready to break out the soldering iron – but we have some prep work to do first. Take a look at the edges where your top contacts are – is copper peeking out past the Velostat? We don’t want this. It will short if we try to take the contact over this section. A little strip of electrical or duct tape will insulate the boundary. That’s better. Now I’m going to build a solder pad from two layers of copper tape. This solder pad I’ve laid down does not connect to the top contact of the step yet. This way if the step needs to come out, the soldered wire can stay where it is.Now to solder some wires. It’s important to leave lots of extra length when cutting the wire, I’ve been screwed multiple times by not having enough spare lead. Be judicious with the heat. The copper tape solders decently enough but it’s not going to tolerate the iron for an extended period.Finally, one more layer of copper tape will link the top contact to the solder pad and shield it all in one go. And now all four arrows wired up: I’ll finish up Start and Select later. For now, we really need to neaten up those wires. Find a hot glue gun, route the wires nicely up through the top of the pad, and glue them in place. And with that, the internal construction of the pad is complete. View the full article
    37. SIr Pep

      Need some ideas

      I'd definitely build on the quest you already have in place. It'll give the game more purpose, and will give each monster the player battles more meaning. Part of any role playing game is a good story to get the player interacting and feeling like they're a part of your game world
    38. Hi, again i am at a point, were my incompetence makes me frustrated. I really try hard to solve my problems by myself before posting here. I have to mention that i have already worked with compute shader but until now i always read from one buffer and write to another. My kernel question: Is it possible in Directx11 SL 5.0 to bind a RWByteAddressBuffer to a computeshader as a UnorderdAccessView an then read a value from the buffer an write it back in the same dispatch ? This i exactly what i am doing. As a test i have also bound a StructuredBuffer to my computeShader as SRV with the same content as the RWByteAddressBuffer. When i read values from StructuredBuffer and write to RWByteAddressBuffer all works fine. => I conclude that the value is correctly read from StructuredBuffer and correctly written to the RWByteAddressBuffer Now comes the rediculous situation: If just read back the value from the same adress from the RWByteAddressBuffer and write it back the unchanged value to the same address in the RWByteAddressBuffer nothing is in the output and the model disappears. Many thanks in advance for everyone who can give me a hint. P.S. I know that i could work with two buffers, but because of the particle system (5 million) the buffers a very big and i would like to avoid this. The principle in most stages of the simulation will be, that the "old output buffer" is feeded as "input as input" buffer like a control loop. static const uint out_struc_stride = 32; // Size of RWByteBuffer_layout static const uint nThreads = 1000; // only as info, not used struct RWByteBuffer_layout { float4 Position ; float4 Color ; }; // structure buffer definition struct position_color_struc { float4 Position : POSITION; float4 Color : NORMAL; }; cbuffer CB_shared : register(b0) { uint nStructs; float time; } RWByteAddressBuffer out_data : register(u1); StructuredBuffer<position_color_struc> in_data : register(t25); [numthreads(nThreads, 1, 1)] void MoveParticles_ComputeShader(uint3 id : SV_DispatchThreadID) { uint range = nStructs / nThreads; position_color_struc input; for (uint i = id.x * range; i < (id.x + 1) * range; i++) { uint t = out_struc_stride * i; float4 in_position; float4 in_color ; bool do_read_from_byte_buffer = false; bool do_read_back = true; if (do_read_from_byte_buffer) { // read position, color from RWByteAddressBuffer ( does not work !!) in_position = out_data.Load4(t); in_color = out_data.Load4(t + 16); } else { // read position, color from StructuredBuffer ( does work ) input = in_data[i]; in_position = input.Position; in_color = input.Color; } out_data.Store4 (t, asuint(in_position)); out_data.Store4 (t + 16, asuint(in_color)); if (do_read_back) { // does NOT work even when reading first from structured Buffer // so we are shure that the value we read back from the structured buffer is OK // so reading from buffer and write back is IMPOSSIBLE ?? // read again from byte buffer in_position = out_data.Load4(t); // store bytebuffer out_data.Store4(t, asuint(in_position)); } } }
    39. MichaelAWolfe

      Need some ideas

      You could still have obstacles couldn't you (downed pillars, rocks, holes, etc.)? You did say you would see enemies wondering around the map as well correct?
    40. A name for the game has actually come up along those lines, but I'm supposed to keep it a secret. And I HAAAATE keeping secrets!!!
    41. So this is like a racing game on rails? I like irreversible's approach, slight possible tweaking: You could label each lane numbered, -1, 0, 1, 2 etc. Store the current lane position of the player as a float. Have a target lane number (as an integer) you are moving towards (could be the same as you are already in). Each iteration lerp the current lane towards the target lane (by a fixed amount if using fixed tick rate, or dT if using frame timing) On corners, preserve the lane information but because you are joining different 'segments' of track, do an additional lerp from one segment to another as you cross the corners. This way lane changing on corners 'just works'. If the difference between 2 players is less than some value (e.g. 0.5) they crash This might mean you can only turn e.g. left into a single side road from the left lane, which you may or may not want. You would also have to handle crashing on corners involving turning vehicles.
    42. Esteban5XG

      Project BlockchainZ [Available on itch.io]

      [BzPatch 2]: Updates and improvements! Hey everybody! New Patch is here! Say hello to Patch 1.0.2b (Patch notes below) A new update with nice improvements for a better game experience. Firstly we have reworked so hard the AI, so now they will react much better to the different situations, more work will be added, like advanced behaviors, different animations and there will be more in futures patches! Also we've done optimizations in the shooting feedback, first we add some shake to the camera. Also we have been working a lot in the IK stuff so when you shoot the gun move the character's arms and shoulders. And we have changed nearly all the SFXs for a more interesting version. Give it a try, you will notice with the first shoot. What is IK? IK is the acronym for Inverse Kinematics. IK is an animation technique that allows much more responsive animations in games. Unfortunatelly, this improvement forces us to turn off the option to disable the Right/Left Angle shooting until the next patch 😢 You'll see that now the difficulty level is a little bit more harder (We also took out rookie level), because we want the video game to be a really interesting challenge for every zombie killer. Nobody said that killing zombies was easy. The real challenge is to survive until your reinforcements arrive. Finally, and not less important, we have corrected some nasty bugs! Are you capable to save the bunker? Prove it and save the world: https://projectblockchainz.itch.io/projectbcz PSD.: we are still working on the story. And now we are so happy to show you some of the concept arts we have prepared. Check it! When we started developing the video game, we had the idea to create a huge city completely ruined by thousands of years of struggling. It would be a desolated scenario... More on the Devlog What do you think? Let us know on our Discord Server. Patch Notes: General improve on AI, now the bandits reacts much better. Big optimization in shooting feedback. Camera improvements. SFX improvements. IK optimizations. New SFX for each every weapon. Now the foots adjust to the terrain. The character reacts when is hitted. Fixed zombie speed bug. Not the zombies let some space after attacks. Rookie challenge level removed. Now the challenge level includes the difficulty. Challenge level adjustment in order to create a more interesting challenge for the player. Fixed some related bugs on AI. Aiming by the left is temporarily disabled while improving the character's IK. Now you can't train the last civilian in the bunker. Fixed the bug related to the updates, now it works fine. Some adjustment to max units at the same time, to avoid performance hitccups Minor Bugs Additionally, we are working on the auto-resolve feature that let the easy battles be done without wasting time Eg. when you have 20 soldiers and fight against 3 raiders. These kind of battles have no sense at this point, so we believe player doesn't need to waste time them. Just focus in the good ones. Once we have this feature totally balanced and tested, we'll update it in the next update! We really hope you enjoy these new improvements. If you find any bug, please tell us right here or through our Discord Server. Thanks a lot for all the support you are bringing to us. It's great to know how do you feel about Project BlockChainZ.
    43. Esteban5XG

      [Bz Patch 2]: How to kill a bug

      [BzPatch 2]: Updates and improvements! Hey everybody! New Patch is here! Say hello to Patch 1.0.2b (Patch notes below) A new update with nice improvements for a better game experience. Firstly we have reworked so hard the AI, so now they will react much better to the different situations, more work will be added, like advanced behaviors, different animations and there will be more in futures patches! Also we've done optimizations in the shooting feedback, first we add some shake to the camera. Also we have been working a lot in the IK stuff so when you shoot the gun move the character's arms and shoulders. And we have changed nearly all the SFXs for a more interesting version. Give it a try, you will notice with the first shoot. What is IK? IK is the acronym for Inverse Kinematics. IK is an animation technique that allows much more responsive animations in games. Unfortunatelly, this improvement forces us to turn off the option to disable the Right/Left Angle shooting until the next patch 😢 You'll see that now the difficulty level is a little bit more harder (We also took out rookie level), because we want the video game to be a really interesting challenge for every zombie killer. Nobody said that killing zombies was easy. The real challenge is to survive until your reinforcements arrive. Finally, and not less important, we have corrected some nasty bugs! Are you capable to save the bunker? Prove it and save the world: https://projectblockchainz.itch.io/projectbcz PSD.: we are still working on the story. And now we are so happy to show you some of the concept arts we have prepared. Check it! When we started developing the video game, we had the idea to create a huge city completely ruined by thousands of years of struggling. It would be a desolated scenario... More on the Devlog What do you think? Let us know on our Discord Server. Patch Notes: General improve on AI, now the bandits reacts much better. Big optimization in shooting feedback. Camera improvements. SFX improvements. IK optimizations. New SFX for each every weapon. Now the foots adjust to the terrain. The character reacts when is hitted. Fixed zombie speed bug. Not the zombies let some space after attacks. Rookie challenge level removed. Now the challenge level includes the difficulty. Challenge level adjustment in order to create a more interesting challenge for the player. Fixed some related bugs on AI. Aiming by the left is temporarily disabled while improving the character's IK. Now you can't train the last civilian in the bunker. Fixed the bug related to the updates, now it works fine. Some adjustment to max units at the same time, to avoid performance hitccups Minor Bugs Additionally, we are working on the auto-resolve feature that let the easy battles be done without wasting time Eg. when you have 20 soldiers and fight against 3 raiders. These kind of battles have no sense at this point, so we believe player doesn't need to waste time them. Just focus in the good ones. Once we have this feature totally balanced and tested, we'll update it in the next update! We really hope you enjoy these new improvements. If you find any bug, please tell us right here or through our Discord Server. Thanks a lot for all the support you are bringing to us. It's great to know how do you feel about Project BlockChainZ.
    44. Technically, if you change lane, you're moving (somewhat) diagonally, so your forward movement speed decreases. Likely you don't want to model that
    45. Hi everyone, I'm an orchestral music composer with 5 years experience. Now I would like to get experience in making music for games. I'm specialized in epic music and traditional big orchestrations, you can listen to some of my work on soundcloud/youtube at the bottom. Please contact me if you are interested, would love to hear from you. Best regards, Jonathan Soundtrack Portfolio: Rescored Trailers I did for practice:
    46. I started work on DiligentFX, a high-level renderer. As the first step, I reworked epipolar light scattering effect and made it ready-to-use component with a clear interface. Check it out on GitHub.
    47. jonri

      Islands and Land

      Yes, that is the ideal situation but it's not currently supported. There are some issue requests open for it, so hopefully it gets implemented eventually. My latest CPU numbers were just under 50% all-in, including the rest of the physics, rendering, etc. I'm not sure what I'm at for just my code. In that scene, 2 of the 3 boats were unoptimized, there are probably around 2000 potentially-buoyant faces in total, so a simpler hull should make a significant difference. I'm releasing what I have this week, and one of my goals for a future version will be to offer some options to trade accuracy for speed. I'll be sure to give it a go on mobile to see how things hold up. As you noted, this would prevent the inside of the boat from rendering. You need to sandwich the depth rendering of the closed hull between the rendering of the boat and the water. If you do find a better workaround, I'd love to know!
    48. lawnjelly

      Islands and Land

      Ahha! I have a solution, possibly. Draw the hulls first using colour without blending. This draws the colour and depth, no blending and is cheap. Draw a skybox over this, without using depth testing or depth write. This will draw the colour over the previous result. Now draw the boats. Now draw the ocean. I think this might work and would be super cheap. 🙂 /edit Ah darn this may interfere with the boat rendering. However you could use it to draw masked areas maybe, or get it to work with a cunning shader. I'm sure there must be a cheap solution! 🙂
    49. (note: there is ambiguity about where the line is drawn between raypunk - or raygun gothic - and atompunk as used in games like Fallout. I have attached a couple of images to illustrate the style I am talking about) Lately I have started browsing artwork and pictures of old science fiction movies from the 50's/60's again and started wondering - why isn't that aesthetic explored in videogames more frequently? It's a fresh and most of the times vibrant look at a future that never was, far away from the sleek designs of Mass Effect and the bleak colour palette of your average first person shooter. Let's face it, how many games can you name where the skies are a nice and warm yellow colour? Illustrators and film makers alike didn't care about realism and explored the realms of their imagination while throwing the laws of physics out of the window of their saucer shaped spaceships, and they gave us movies like This Island Earth or Forbidden Planet and the classic Star Trek series in return. So I have been trying to come up with a genre or game mechanic and I think a more campy and over-the-top version of something like Age Of Wonders would work great (yes, Planetfall might be set in a sci-fi setting but it's going in the complete opposite direction). Who wouldn't want to engage in diplomatic conversation with this friendly fellow while your fellow band of spacemen and -women fight off strange creatures with their trusty rayguns? What do you all think - is this a theme/idea worth exploring? What would make you want to play the 4X version of a 50's science fiction movie? Or would this lend itself better for a different genre instead?
    50. lawnjelly

      Islands and Land

      It might work but usually stuff like that is a big red flag to take care in case of pipeline stalls etc I think. It is all a roundabout way of trying to write to the depth buffer without writing out colour as I understand it? There may be a way of using alpha blending with transparent pixels, and getting the sorting / render order correct, maybe this will be faster. I think there is some support for changing the render order in Godot (I did it for my skybox) but I don't know if you can force this even with blending where things are often sorted back to front. Speaking for myself I'm also keen to have stuff that will work fast on mobile, so you have to be careful as things like that can kill the framerate for little visual gain. Also this is why my emphasis on shortcuts in the calculations, I saw from your latest version it was using 30-50% CPU. To give comparison, I think mine uses very low, figures around 0.1% CPU for 30 or so boats. However I think your approach could be optimized by using simplified hull (maybe a box or something) and lookup tables if you are feeling brave. I may get round to having a go at this when I eventually get home and can program again! :-)
    51. ArcanaDragon

      New Hero Added 02-19-2019

      New hero added: Haunted Nikes Click here to play Hero Land for free in your browser
    52. OK. That's a good focus. To get some ideas flowing, think of sayings or phrases other than the paper cuts thing. Like daily good deeds, or "paying it forward," or mountains from molehills.
  • 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!